#footer ul li:first-child a { border-left: none;}
#footer ul li {border-left: expression...}
#footer ul li a {border-left: expression...}
div#nav UL LI A {border-right: 1px solid #0000FF}div#nav UL LI A.first {border-left: 1px solid #0000FF}
<DIV ID=\"nav\"><UL><LI><A CLASS=\"first\" HREF=\"#\">Home</A></LI><LI><A HREF=\"#\">Links</A></LI><LI><A HREF=\"#\">Contact</A></LI></UL></DIV>
As far as I can tell, there's no way to use the expression method to do this. If I write this...
#footer ul li {border-left: expression...}...that will style the first <li> itself, not the <a> inside it. And if I write this...
#footer ul li a {border-left: expression...}...that will style the first <a> inside every <li>.
What I need to do is style every <a> inside the first <li>. Any way to get this working in IE?
I often use menu's like: | Home | Links | Contact |
It took me a long time to figure out how to place the vertical lines.
I now use something like:
CSS:
div#nav UL LI A {border-right: 1px solid #0000FF}
div#nav UL LI A.first {border-left: 1px solid #0000FF}
HTML:
HTH.
gr. Bert
http://www.pathf.com/blogs/2008/04/hacking-the-fir/
Gr. Bert