Mugur,
Many thanks for your message.
I've just posted a new note, to thank Jake Badger for his solution, which was to transfer the "clear" to the li. As simple as that.
Your explanation sounds reasonable except that:
1) if I set the a to clear: left, all of the a's should clear each other, no?
2) it shouldn't really matter if the li's displayed or not. They have no visual content in their own right.
3) Safari and Opera displayed the menu as I had intended, and they are very compliant. (I don't rely on IE!)
Still, I now have the result desired!
http://www.fortyfivedegrees.com/childrenfirst/access/
-Hugh
quote: "I wanted a workaround for the refusal of IE 5 PC to honour the left padding on my subnav (where I wanted to put little arrows). So I've set the li a to float left, and set a clear: left to force them to align vertically."
Firefox got it right again and IE tricked you [again] into believing it was doing the right thing ;)
You took the a elements from the document normal flow by floating them and therefore the list HAS NO CONTENT and it's not displayed at all ! The a's will still appear but out of place where you float them. For some strange reason IE displays them "on place" or where the li's should be, witch it's wrong becose any "container" that has it's content floated ... has no content and therefore it's not displayed at all ! Or at least that is the way it should be ;)
You can either float the li's [ NOT the a's] or you can let the list work naturally [wich is li under li under li, etc] and give the a's some padding or margin + style the list bullets. "Kill" the floating and clearing first and play with the list without them to try and obtain the desired effect.
****************************************************** The discussion list for http://webstandardsgroup.org/
Proud presenters of Web Essentials 04 http://we04.com/ Web standards, accessibility, inspiration, knowledge To be held in Sydney, September 30 and October 1, 2004
See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************
