[thelist] IE UL/OL float left bug?

fstorr fffrancis at fstorr.demon.co.uk
Sat Dec 28 02:24:01 CST 2002


I just thought about this for a while and come on to the following.
ul/li elements are in fact block elements. It means that when you close
the <li> tag, and start a new list item the text will display on the
next line. So using a float:left; doesn't make  any sense. But you can
always enclose your <ol> / <li> in a div which can float:

++++

Hi

Thanks for that.  It's a shame that I've got to wrap them in a div, but
there you go!

Cheers

F





More information about the thelist mailing list