or

Subscribe now! (3802 subscribers)

Separation in the blink of an eye

I’ve seen them so many times: pages where the HTML is mighty fine (!) but the CSS looks like it’s taken straight from Dreamweaver. While I hate having to deal with those kinds of designs there is something good about them. They prove the point that HTML and CSS are two separate units, and that it’s possible to mess up one of them and do fine on the other. That’s after all the point of CSS…

Now. A much more unusual combination is good CSS together with bad HTML. So I put together a little example for you. Separation illustrated (only works in Firefox, I’m lazy). I’ve made all lines about 80 characters long and removed all other whitespace. Enjoy!

How’s that for a company website?

Similar articles

Friendly Bit is a blog by Emil Stenström, an Swedish interface developer and web strategist that blogs about the modern web and how to make best use of it.