[prev in list] [next in list] [prev in thread] [next in thread]
List: kfm-devel
Subject: Re: Small test case for bug in renderer floats
From: Vadim Plessky <lucy-ples () mtu-net ! ru>
Date: 2002-07-29 10:08:39
[Download RAW message or body]
On Sunday 28 July 2002 5:15 pm, Koos Vriezen wrote:
| Hi,
|
| This is rendered wrong
| <html><body>
| <table style="float:left;" border=1><tr><td>table cell</table>
| some text
| </body></html>
|
| or with a div
|
| <html><body>
| <div style="float:left;" border=1>div text<br>div text</div>
| some text
| </body></html>
|
| Seems the float gets an extra left offset if the height is greater than
| height of surrounding text.
Hi,
I can't understand what do you mean here.
Pls check attached testcase - both <table> and <div> render (almost)
identically.
BTW: you forgot to close </td></tr> in your example
|
| Regards,
|
| Koos Vriezen
--
Vadim Plessky
http://kde2.newmail.ru (English)
33 Window Decorations and 6 Widget Styles for KDE
http://kde2.newmail.ru/kde_themes.html
KDE mini-Themes
http://kde2.newmail.ru/themes/
["float-table.html" (text/html)]
<html>
<head>
<style type="text/css">
.container { border: 2px solid lime; width: 300px; height: 200px; margin: 20px }
.fld { border: 1px solid orange; float: left }
</style>
</head>
<body>
<div class="container">
<table style="float:left;" border=1>
<tr>
<td>table cell
</td>
</tr>
</table>
some text
</div>
<div class="container">
<div class="fld">
div text<br>div text
</div>
some text
</div>
</body>
</html>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic