SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Zealot bkflash's Avatar
    Join Date
    Apr 2006
    Posts
    148
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Spacer Tag Glitch

    Hello,
    I have a problem with this css code below...

    .spacer {height:5px; background-image:url(spacer.gif);}

    If shown in Firefox its perfectly fine 5px high, but in IE the height is around 30 px instead of 5px any ideas why it might be doing this?

  2. #2
    SitePoint Author silver trophybronze trophy

    Join Date
    Nov 2004
    Location
    Ankh-Morpork
    Posts
    12,158
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Try adding line-height:5px and font-size:5px as well.
    Birnam wood is come to Dunsinane

  3. #3
    SitePoint Zealot bkflash's Avatar
    Join Date
    Apr 2006
    Posts
    148
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    that did the trick , thanks autisticCuckoo


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
  •