Page is a not externally linkable
- Code, Content, and Presentation
-- CSS
---- floated navigation (list) not floating in IE


snehula - 2:40 pm on Nov 21, 2011 (gmt 0)


Hi there,

i was about to say i can't get my nav menu (list elements) to float in IE (tested 7 and 8) although i've set the list items to float left.. meanwhile with a little bit of experimentation i managed to get it floating. The problem seems to have been the following:
i've had my list elements set to a 100% width. If i'm not mistaken that should be a 100% of the parent element, and that's how it worked in all major browsers. IE however interpreted it as a 100% width of the window. So, i came to a conclusion that if i wanna be able to display things correctly in ie, i shouldnt be using percents? Is that right?

Could anybody point me to the right direction as for a comprehensive guide on browser differences regarding css implementation, most of all i'm interested in IE bugs and workarounds.
And, I am really curious, good people, YOU who have designed dozens of websites, do you end up writing a completely different css file for IE each time or how does it work? :-)


Thread source:: http://www.webmasterworld.com/css/4389400.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com