Skip navigation
Currently Being Moderated

Specify row height in table using html?

Dec 12, 2012 3:35 PM

How do I accurately specify row heights in html for use in rich text emails? The row heights tend to grow in height (approx 20px) when tested in Thunderbird. I want the row heigth to be 1px high. Please see a line of code below:

 

HTML 4.01 Transitional

 

<td height="1" bgcolor="#999999"></td>

 
Replies
  • Currently Being Moderated
    Dec 12, 2012 3:40 PM   in reply to More2Do

    Have you tried using a border instead of cell for this?

     

    <table style="border: 1px solid #999999">

     

     

    Nancy O.

     
    |
    Mark as:
  • Currently Being Moderated
    Dec 12, 2012 4:04 PM   in reply to More2Do

    The old school method was to use clearpixel.gifs as space holders. 

     

    See Creating Cross Client HTML E-Mails in Dreamweaver -
    http://www.adobe.com/devnet/dreamweaver/articles/html_emails.html

     

     

     

     

    Nancy O.

     
    |
    Mark as:
  • Currently Being Moderated
    Dec 12, 2012 5:12 PM   in reply to More2Do

    More2Do wrote:

    I want the row heigth to be 1px high.

    I must be missing something because a 1 pixel cell or row height would not create a perceptible "space between sections of copy".  Its less than a line height

     

    Note that most email clients will nor render a background color on other than the entire page.

    Could we see an online version of your design please?

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points