SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Guru
    Join Date
    Oct 1999
    Location
    New York, NY
    Posts
    826
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    IE6 <ol> numbers repeat 1-9 ?!

    Hello,

    I'm working with a Wordpress theme and have a bunch of restaurant listings that I am trying to format in a simple ordered list <ol> ... for reasons I can't decipher, IE6 decides to order the first 9 properly then begin the numbering from 0 - 9 again (no double digits!) ...

    I'm sure there is some "funny coding" going on at my end, but I'm not where it is... can someone take a look to see if you can spot the issue? (Firefox displays it properly.)

    http://preview.tinyurl.com/2c3goe

    Appreciate it!

    -Josh

  2. #2
    SitePoint Wizard bronze trophy Centauri's Avatar
    Join Date
    May 2007
    Location
    Newcastle, Australia
    Posts
    3,718
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    There is not enough left padding on the <ol> to allow more than one digit to appear within the edge of the <ol>, and IE is cutting off what lies outside. A little more padding resolves this :
    Code:
    ol.entry {
    	padding: 0 0 0 2.5em;
    	margin: 0;
    	}

  3. #3
    SitePoint Guru
    Join Date
    Oct 1999
    Location
    New York, NY
    Posts
    826
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hey Centauri,

    Thanks so much for spotting that... one of the wonderful joys of web design is overlooking those seemingly simple solutions...

    Thanks for spotting it for me -- it, of course, solved the prob!

    -Josh


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
  •