SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast
    Join Date
    Jan 2010
    Posts
    91
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    padding issue in IE

    My ul on my page lines up perfectly in FF but have a gap in IE ? ? ?

    http://www.pcigeomatics.com/index.ph...d=48&Itemid=13

  2. #2
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,389
    Mentioned
    180 Post(s)
    Tagged
    6 Thread(s)
    HI,

    If you are talking about ul.tabs then the problem is that you have made the four tabs just happen to fill the space by virtue of their padding, borders and content. Browsers all render text at different widths and some by quite a large margin so you cannot just make things fit with text + padding.

    The easiest solution is to add an individual width to each tab, remove the side padding and then center the text.

  3. #3
    SitePoint Enthusiast
    Join Date
    Jan 2010
    Posts
    91
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    that did the trick. Thank you!


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
  •