July 12th, 2008 under css, design, web
Occasionally you’ll be coding out a site, and you want a “sticky footer”, a footer that sticks to the bottom of the browser viewport or the bottom of the main content section, whichever is lowest.
There are a few notable sites that have posted methods for doing this, but the short answer is it doesn’t work [...]
May 11th, 2008 under css, design, html, standards, web
I came across a page recently that uses ordered lists for the entire layout — not just the menu. The entire layout is in two parts: one ordered list for the header/body/footer, and another ordered list for the three columns inside the body.
I find this to be an interesting approach to multi-column layouts. [...]
April 20th, 2008 under css, design, web
Ever seen the odd site that, instead of solid or absent underlining, has a dotted or dashed underline? Ever wonder how it’s done? It’s really simple: border-style.
All you need to do to get an alternative underlining effect is to, first off, hide the default underline with text-decoration:none, and then specify a bottom [...]
April 12th, 2008 under css, design, web
Let’s face it: form elements au naturel are NOT pretty. So what do we do with them?
We add a border thickness here, a border color there, leaving the whole thing largely unchanged. And still ugly. Time to change that.
I’m going to use the Tableless CSS Forms code provided by DynamicDrive’s CSS library [...]
April 4th, 2008 under css, design, html, standards, web
CSS Naked is a standards-awareness initiative led/organized by Dustin Diaz. On the specified date, April 9th, all participating websites will strip their sites of their CSS, allowing the world to see the underlying clean-code usability:
The idea behind this event is to promote Web Standards. Plain and simple. This includes proper use of (x)html, semantic [...]