Does setting list-style-position:inside; fix that IE 8 problem there Stevie?
| SitePoint Sponsor |
Does setting list-style-position:inside; fix that IE 8 problem there Stevie?


IE8 doesn't usually lose the bullets on floated lists but ie6 and 7 do (I believe that it is because a floated element gets set to display:block by IE which stops it being a list-item any more - and no it won't reset with display:list-item either.)
The problem may be that the bullet is sliding under the element next to it so Jasons suggestion above may work (but we'd need to see the code to be sure).
www.pmob.co.uk CSS FAQ 3 col demo Read My CSS Articles
Ultimate CSS Reference
Check out SitePoint's latest JavaScript challenge

Ah, I see the problem - I hadn't put a doctype in my test page so IE was going into quirks mode and not showing the bullets.
OK, so how about this:
Perfectly semantic if it's just a random list of words to be displayed in a grid 6×3, and the HTML is just a plain and simple <ul> filled with <li>s.Code CSS:ul li { float:left; width:15%; border:solid #888 1px; float:left; list-style-type:disc; list-style-position:inside; padding:0.2em; margin:1px;}
Any posts I write in Arial are on my mobile phone, so please excuse typos etc.
Any posts I write in Verdana are on a PC, so feel free to berate me mercilessly for any mistakes
Ya said float twice![]()


www.pmob.co.uk CSS FAQ 3 col demo Read My CSS Articles
Ultimate CSS Reference
Check out SitePoint's latest JavaScript challenge







Sorry ralph, I twotted that. *urp* scuz me







Looks like I've created another monster (thread)...
Debbie
That's always a good thing, the more different opinions you get and more facts people present, the better qualified you'll be to make a decision on what's the best approach for you.
Debate is good, different approaches are good. I love all the different ways people can come up with to solve the same problem as sooner or later EVERY one of us will see something "better" from someone else. Something I've been saying since I was ten -- the day you think there's nothing new to learn is the day the rest of the world leaves you behind.
That's how we make the world a better place. No, I'm not a Darwinist...





I agree, but I just think it's funny how I have a habit of asking a simple question like "What time is it" and I spark these passionate threads/debates on how to build a watch.
As long as I inspire you guys, all the better!
Debbie
P.S. Feel free to have the same "inspiration" with my Getting People to come (and STAY) at your website... thread.![]()
Bookmarks