Space Under Images in HTML Newsletter

Discussion in 'HTML & Website Design' started by martinvidic, Apr 21, 2011.

  1. #1
    Hi there.

    I am trying to create a html newsletter and I keep getting 2-3 pixels space under each image. I already made the borders=0 but the spaces are still there (only at the bottom)
    Any ideas why this happens?

    Thanx.
    m.
     
    martinvidic, Apr 21, 2011 IP
  2. Blue Star Ent.

    Blue Star Ent. Well-Known Member

    Messages:
    1,989
    Likes Received:
    31
    Best Answers:
    0
    Trophy Points:
    160
    #2
    If the next thing under the image is text, try adjusting the "line-height". I am just guessing here, because it could be white space, padding, etc.
     
    Blue Star Ent., Apr 21, 2011 IP
  3. c.hill93

    c.hill93 Member

    Messages:
    19
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    38
    #3
    Maybe add


    style="margin: 0;"

    Not sure though!
     
    c.hill93, Apr 21, 2011 IP
  4. lkraj

    lkraj Greenhorn

    Messages:
    72
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    18
    #4
    It could be a padding issue. OR check the HTML, sometimes removing any whitespace immediately after the img tag and having the text immediately following it, helps
     
    lkraj, Apr 21, 2011 IP
  5. karthimx

    karthimx Prominent Member

    Messages:
    4,959
    Likes Received:
    127
    Best Answers:
    2
    Trophy Points:
    340
    #5
    check if there is any margin or padding given for img in style sheet.
     
    karthimx, Apr 21, 2011 IP
  6. Zetiz

    Zetiz Active Member

    Messages:
    668
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    80
    #6
    If you are not getting it solved by margin:0 then try giving negative values for margin! :) try some tricks! hope it works!
     
    Zetiz, Apr 21, 2011 IP