SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Dec 2008
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Extra spacing under images

    Working on a client site...there is an extra 2-3 pixel space below the image in the main content section. The image is getting wrapped with 1 pixel border with CSS

    http://www.ic-re.com.asp1-15.website...management.asp

    Any ideas what is going on? It shows up like this in IE, Safari, Firefox and Chrome...

    Thanks!

  2. #2
    om nom nom nom Stomme poes's Avatar
    Join Date
    Aug 2007
    Location
    Netherlands
    Posts
    10,266
    Mentioned
    50 Post(s)
    Tagged
    2 Thread(s)
    Hi, this is actually a popular and common thing. What makes it seem weird is, sometimes Firefox is the only one who shows it, depending on the markup (I have one example where FF was the only one showing it... but be aware they actually should ALL be showing it).

    Read this:
    http://gtwebdev.com/workshop/gaps/image-gap.php

    then pass it on to your friends, your friends' friends, and their dogs. My stylesheets always always have img {vertical-align: bottom; border: 0;} except when there are no images on that site.

  3. #3
    SitePoint Member
    Join Date
    Dec 2008
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for the help, that works.

    Brett


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
  •