I am in the process of rewriting the work website to be all CSS-shiny, standards compliant, easy to update, all that jazz. During which I have been led to really wish that CSS had a “has child” selector. It is of course possible to fake it, but you have to do it in the markup (by using a “has-child” class) which is suboptimal. Thankfully it’s the navigation that needs this, for which I use server-side includes, so I only have to do it in one place; but it makes my nice tidy markup messy!

I went looking for whether CSS3 would feature this. Nothing on the CSS3 Roadmap (2001? Blimey, that’s old.) It does though mention that selectors will be extended. However, the most recent CSS3 selector document doesn’t give has-child as one of the selector extensions. So I guess that’s a no. A shame.

In other news: LinuxChix button
Any Linux-using women out there who aren’t already aware of LinuxChix? Click and find out!