256 Kilobytes

Answers - Style and Layout

Ask and answer questions, if that is something that you want to do. HTML, CSS, and related topics.

Profile Photo - Some Guy

How to center an image in HTML?

Answers in Style and Layout | By Some Guy

Published 3 days agoSun, 13 Jan 2019 04:26:55 -0800

Profile Photo - Default

Last Reply There are two ways, the first is kind of hacky and therefore shit but does work and it's how popular CMS's like WordPress (used to) handle the... Hash Brown,

There are two ways, the f...

Tue, 15 Jan 2019 17:43:39 -0800 15 hours ago
🗨
1
🐏
0
👁
6
Profile Photo - Some Guy

Solution to "Out of HTML5 offline storage space?"

Answers in Style and Layout | By Some Guy

Published 3 days agoSun, 13 Jan 2019 04:29:36 -0800

Profile Photo - Default

Last Reply Clear your cache and cookies dude, this is a browser error. If you're using Chrome you can head to chrome://settings/ and search for the &... Hash Brown,

Clear your cache and cook...

Tue, 15 Jan 2019 17:31:48 -0800 15 hours ago
🗨
1
🐏
0
👁
3
Profile Photo - Some Guy

[CSS] Rule that triggers if an image doesn't exist?

Answers in Style and Layout | By Some Guy

Published 3 days agoSun, 13 Jan 2019 04:29:15 -0800

Profile Photo - Default

Last Reply You can't do that with CSS. I'm guessing you're trying to set a fall back image of some sort? You should look at doing this with PHP.... Hash Brown,

You can't do that wit...

Tue, 15 Jan 2019 17:28:59 -0800 15 hours ago
🗨
1
🐏
0
👁
4
Profile Photo - Some Guy

How to make a button link that links another page in HTML?

Answers in Style and Layout | By Some Guy

Published 3 days agoSun, 13 Jan 2019 04:27:15 -0800

Profile Photo - Default

Last Reply If you specifically want to use <button> you can do this: <button onclick="location.href='http://www.example.com'" type="button">Butt... Hash Brown,

If you specifically want...

Tue, 15 Jan 2019 17:15:15 -0800 16 hours ago
🗨
1
🐏
0
👁
3
Profile Photo - Some Guy

What is the difference between HTML and CSS?

Answers in Style and Layout | By Some Guy

Published 3 days agoSun, 13 Jan 2019 04:27:25 -0800

Profile Photo - Default

Last Reply They both do different things. HTML is a markup language, it simply helps you create a page and basically label and organise information you put on... Hash Brown,

They both do different th...

Tue, 15 Jan 2019 17:11:29 -0800 16 hours ago
🗨
1
🐏
0
👁
3
Profile Photo - Some Guy
Profile Photo - August R. Garcia

Last Reply This article from three weeks ago covers some of the potential options: https://www.256kilobytes.com/content/show/1903/responsive-vs-adapt... August R. Garcia,

This article from three w...

Tue, 15 Jan 2019 16:51:27 -0800 16 hours ago
🗨
1
🐏
0
👁
3
Profile Photo - Some Guy

What is the <address> tag for in HTML?

Answers in Style and Layout | By Some Guy

Published 17 hours agoTue, 15 Jan 2019 15:31:15 -0800

Profile Photo - Default

Last Reply It's a semantic HTML5 tag which should be used to highlight contact information like email addresses as well as physical real world addresses.... Hash Brown,

It's a semantic HTML5...

Tue, 15 Jan 2019 16:48:35 -0800 16 hours ago
🗨
1
🐏
0
👁
3
Profile Photo - Some Guy
Profile Photo - Default

Last Reply HTML is not about styling or how things look, it's about semantics and building out a semantic page structure where the tags describe what is cont... Hash Brown,

HTML is not about styling...

Tue, 15 Jan 2019 16:46:36 -0800 16 hours ago
🗨
1
🐏
0
👁
5
Profile Photo - Some Guy

How do I pin my navigation bar to the top of the page?

Answers in Style and Layout | By Some Guy

Published 17 hours agoTue, 15 Jan 2019 15:37:12 -0800

Profile Photo - Some Guy

I need to have my navigation menu pinned...

MoreI need to have my navigation menu pinned to the top, preferably without covering up anything in t
🗨
0
🐏
0
👁
3
Profile Photo - Some Guy

[CSS] Z-index not working?

Answers in Style and Layout | By Some Guy

Published 3 days agoSun, 13 Jan 2019 05:08:08 -0800

Profile Photo - Some Guy

MoreFor some reason, the Z-index function in my stack stopped working. It completely messes up my cod
🗨
0
🐏
0
👁
0
Profile Photo - Some Guy

[CSS] Attribute selector using a REGEX pattern?

Answers in Style and Layout | By Some Guy

Published 3 days agoSun, 13 Jan 2019 04:30:06 -0800

Profile Photo - Some Guy

MoreI am working on style and layout development using cascading style sheets. Has anyone been able t
🗨
0
🐏
0
👁
2
Profile Photo - Some Guy
Profile Photo - Some Guy

MoreI am working on style and layout development using cascading style sheets. Can someone familiar w
🗨
0
🐏
0
👁
2
Profile Photo - Some Guy

[JavaScript] Decode all HTML entities?

Answers in Style and Layout | By Some Guy

Published 3 days agoSun, 13 Jan 2019 04:29:46 -0800

Profile Photo - Some Guy

MoreI am working with JavaScript code, doing my assignment. Suddenly I got a doubt about how to decod
🗨
0
🐏
0
👁
1
Profile Photo - Some Guy

[HTML/CSS/PHP] SVG -- Best way to make a make <polyline> smooth?

Answers in Style and Layout | By Some Guy

Published 3 days agoSun, 13 Jan 2019 04:29:25 -0800

Profile Photo - Some Guy

MoreWhat's the best layout choice? I want a smooth look and presentation to the page. Should I d
🗨
0
🐏
0
👁
2
Profile Photo - Some Guy

How to vertical align items in a CSS flexbox?

Answers in Style and Layout | By Some Guy

Published 3 days agoSun, 13 Jan 2019 04:29:05 -0800

Profile Photo - Some Guy

MoreI'm enrolled in a dev bootcamp. For my final project, I'm need to design and build an o
🗨
0
🐏
0
👁
1