si-blog
the web log of Simon Jessey
Sunday, January 19th, 2003
Bastard offspring problem
My new site design incorporates a column of navigation buttons. Each button, a block level
<a> element, is styled with border-top: 1px solid white, but
I don't want the first link to have that style, so I have used
a:first-child { border-top: none } to get rid of it. Unfortunately, Internet Explorer
doesn't seem to support this particular pseudo element, or perhaps I have not used it correctly.
Anyone got any ideas?