Skip to Content Skip to Search Go to Top Navigation Go to Side Menu
Search on Site

CSS Naked Day

Wednesday, April 5, 2006

It’s CSS Naked Day, time to bare the nether regions of your markup, flop it onto the table and feel the air running through it.

That rather disturbing metaphor aside, I initially thought that this was a rather silly idea as all it’s going to do is confuse people (god forbid anyone would actually read what’s on the page, which seems to explain what’s going on on all the sites participating), but on reflection it’s really a bit clever. At least, it’s getting me to take a good, long look (the kind of good, long look you can only take when you’ve got far more pressing things to attend to like, oh, revision) at how even though I try my best to use only valid structural markup and keep all the presentation stuff in CSS, a few decisions are made purely based on layout. For example, occasionally, just occasionally, I’ll do the following (minus all those point obscuring tag attributes):

<label>
<input /> text:</label>

Define a height and width for the label, make it display: block, give the input a width and float: right and bang, beautifully aligned forms with minimal code. However this is very lazy and the method used on this site is much better (even though it looks a bit silly today with no styling, but hey - that’s the point, eh?) and will be all I use from now on I’m very naughty sorry sorry sorry.

Popularity: 9% [?]

One Response to “CSS Naked Day”


  1. Pete Says:

    that’s an interesting look…
    but a good idea.

    : P

Leave a Reply


In order to submit a comment, you need to mention your name and your email address (which won't be published).

Comment Form