The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Internet Explorer Float Issue? Re: Internet Explorer Float Issue?


It looks bad in IE because your markup is wrong. You have something like this:

An unordered list (UL) can ONLY contain listitems (LI), and in those listitems you can have a lot of other things. What you have, is anchors in the UL (and they are also not closed properly). So what you probably intended (or what you SHOULD do) is this:

Yup, IE may be difficult to work with, but in my experience, 9 out of 10 times it’s incorrect code. :)