SitePoint Sponsor

User Tag List

Page 2 of 2 FirstFirst 12
Results 26 to 37 of 37
  1. #26
    Non-Member bronze trophy
    Join Date
    Nov 2009
    Location
    Keene, NH
    Posts
    3,760
    Mentioned
    23 Post(s)
    Tagged
    0 Thread(s)
    Does setting list-style-position:inside; fix that IE 8 problem there Stevie?

  2. #27
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,276
    Mentioned
    179 Post(s)
    Tagged
    6 Thread(s)
    Quote Originally Posted by Stevie D View Post
    by just making it into a long list and floating the items. Unfortunately, IE8 (and possibly others) loses the bullet when you do that.

    .

    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).

  3. #28
    Mouse catcher silver trophy Stevie D's Avatar
    Join Date
    Mar 2006
    Location
    Yorkshire, UK
    Posts
    5,881
    Mentioned
    122 Post(s)
    Tagged
    1 Thread(s)
    Quote Originally Posted by Paul O'B View Post
    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).
    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:
    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;}
    Perfectly semantic if it's just a random list of words to be displayed in a grid 63, and the HTML is just a plain and simple <ul> filled with <li>s.

  4. #29
    Non-Member bronze trophy
    Join Date
    Nov 2009
    Location
    Keene, NH
    Posts
    3,760
    Mentioned
    23 Post(s)
    Tagged
    0 Thread(s)
    Ya said float twice

  5. #30
    Mouse catcher silver trophy Stevie D's Avatar
    Join Date
    Mar 2006
    Location
    Yorkshire, UK
    Posts
    5,881
    Mentioned
    122 Post(s)
    Tagged
    1 Thread(s)
    Quote Originally Posted by deathshadow60 View Post
    Ya said float twice
    Just wanted to make sure it was definitely floated in case the browser forgot

  6. #31
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,276
    Mentioned
    179 Post(s)
    Tagged
    6 Thread(s)
    Quote Originally Posted by deathshadow60 View Post
    Ya said float twice
    Is that a new property value float:twice;

  7. #32
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,104
    Mentioned
    448 Post(s)
    Tagged
    8 Thread(s)
    Quote Originally Posted by Paul O'B View Post
    Is that a new property value float:twice;
    I was hoping CSS3 would introduce float: aimlessly.

    Looks like we've scared Debbie away.
    Facebook | Google+ | Twitter | Web Design Tips | Free Contact Form

    Forum Usage: Tips on posting code samples, images and more

    Forrest Gump: "IE is like a box of chocolates: you never know what you're gonna get."

  8. #33
    om nom nom nom Stomme poes's Avatar
    Join Date
    Aug 2007
    Location
    Netherlands
    Posts
    10,269
    Mentioned
    50 Post(s)
    Tagged
    2 Thread(s)
    Sorry ralph, I twotted that. *urp* scuz me

  9. #34
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,104
    Mentioned
    448 Post(s)
    Tagged
    8 Thread(s)
    Quote Originally Posted by Stomme poes View Post
    Sorry ralph, I twotted that. *urp* scuz me
    No need to apogolize. I'm flatulated.
    Facebook | Google+ | Twitter | Web Design Tips | Free Contact Form

    Forum Usage: Tips on posting code samples, images and more

    Forrest Gump: "IE is like a box of chocolates: you never know what you're gonna get."

  10. #35
    SitePoint Wizard DoubleDee's Avatar
    Join Date
    Aug 2010
    Location
    Arizona
    Posts
    3,756
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Looks like I've created another monster (thread)...



    Debbie

  11. #36
    Non-Member bronze trophy
    Join Date
    Nov 2009
    Location
    Keene, NH
    Posts
    3,760
    Mentioned
    23 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by DoubleDee View Post
    Looks like I've created another monster (thread)...
    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...

  12. #37
    SitePoint Wizard DoubleDee's Avatar
    Join Date
    Aug 2010
    Location
    Arizona
    Posts
    3,756
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by deathshadow60 View Post
    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.
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •