On 5 Sep 2008 Michael Drake wrote:

> In article <[EMAIL PROTECTED]>,
>    Richard Porter <[EMAIL PROTECTED]> wrote:

>> The row height bug

> What's that?

If you specify the row height in the table row tag and that height is 
not exceeded by any cell or any object in any cell in the row, then 
the height of the row is much greater that it should be. If the height 
is not specified in the row tag then the row height is correctly set 
according to what is in the cells of that row.

Example

<tr height=6><td><img src="images/spacer.gif" width=1 height=6 
alt=""></td>
<td><img src="images/tlcorner.gif" width=6 height=6 border=0 
alt=""></td>
<td bgcolor="#d00000"><img src="images/spacer.gif" width=1 height=1 
alt=""></td></tr>

Gives a row that is much too high (probably sufficient to contain text 
although there isn't any), whereas

<tr><td><img src="images/spacer.gif" width=1 height=6 alt=""></td>
<td><img src="images/tlcorner.gif" width=6 height=6 border=0 
alt=""></td>
<td bgcolor="#d00000" height=6><img src="images/spacer.gif" width=1 
height=1 alt=""></td></tr>

gives the correct result. This has been reported on the tracker.
N.B. spacer is a one pixel transparent image.
-- 
 _
|_|. _   Richard Porter               http://www.minijem.plus.com/
|\_||_                                mailto:[EMAIL PROTECTED]

Reply via email to