longtone Posted October 30, 2009 Share Posted October 30, 2009 When I float an unordered list, the bullet points disappear in IE: CSS: ul { float: left; } ul li { width: 99%; } html: <ul> <li>Google</li> <li>Wikipedia</li> <li>BBC</li> </ul> I can cure it by wrapping the list in a div and floating that instead: css: .aaa { float: left; } ul li { width: 99%; } html: <div class="aaa"> <ul> <li>Google</li> <li>Wikipedia</li> <li>BBC</li> </ul> </div> but I don't really understand why this is happening, or if there's a better way of dealing with it? Link to comment https://forums.phpfreaks.com/topic/179681-will-list-style-type-work-with-a-floated-list-in-ie/ Share on other sites More sharing options...
TheFilmGod Posted October 30, 2009 Share Posted October 30, 2009 It's happening because of a cascading stylesheets overlap. Did you try firebug? Did it help? Link to comment https://forums.phpfreaks.com/topic/179681-will-list-style-type-work-with-a-floated-list-in-ie/#findComment-948062 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.