On Feb 27, 2010, at 5:56 AM, jeffrey morin wrote: > I have an unordered list with the <li> elements floating left. The discs are > disappearing and I have read that this is because when you float an item the > display property is set to block which in turn wipes out the display: > list-item; that is normally on list items.
That is not correct. In standard compliant browsers (Firefox, Safari), you still have a list marker. display:list-item is a special case of display block. But you mean: the list marker disappears in IE 6 & 7. They disappear because the float property triggers 'hasLayout' in those browsers [1]. > Does anyone know if there is a workaround for IE? I would love to avoid > using a background image to get the discs there. The best (or should I say, easiest, most stable) way is to use a background-image. [1] http://www.satzansatz.de/cssd/onhavinglayout.html Philippe --- Philippe Wittenbergh http://l-c-n.com/ ______________________________________________________________________ css-discuss [[email protected]] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
