[prev in list] [next in list] [prev in thread] [next in thread]
List: kfm-devel
Subject: Re: image scaling problem in khtml
From: Koos Vriezen <koos.vriezen () xs4all ! nl>
Date: 2002-03-30 22:10:38
[Download RAW message or body]
On Sat, 30 Mar 2002, Jelmer Feenstra wrote:
> Hi,
>
> The following image isn't rendered correctly with khtml :
> (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>
IIRC, the width/height attributes of table cells are suggestions for the
HTTP client. If you modify the HTML to
<TABLE>
<TD WIDTH=512 HEIGHT=512 VALIGN=TOP >
<IMG SRC="test.png" HEIGHT="512" WIDTH="512"></IMG>
</TABLE>
it scales right.
Regards,
Koos Vriezen
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic