khtml and table _heights_

Jelmer Feenstra email at jelmer.cc
Thu Jul 18 14:14:05 BST 2002


Hi,

I've already mentioned this problem before (although not completely correct), 
but at the time no-one really responded 
(http://lists.kde.org/?l=kfm-devel&m=101752561006554&w=2). The problem is 
with the following code :

(test.png being 256x256 pixels for example)

<TABLE>
<TD WIDTH=512 HEIGHT=512 VALIGN=TOP >
<IMG SRC="test.png" HEIGHT="100%" WIDTH="100%"></IMG>
</TABLE>

Somehow the height calculation isn't taking into account the full height of 
the cell the image is in.

This also results in problems with image positioning in a table cell. Look at 
http://www.chilledbeats.org for example - the gradient background picture you 
see in the most left column isn't positioned to the bottom of the cell, 
instead it is positioned to the bottom of the contents in that cell (so I 
guess the cell height isn't calculated properly, or maybe even too soon).

Comments ?

Jelmer Feenstra




More information about the kfm-devel mailing list