[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: Bug#45792: khtml moves last character of the word to the next line
From: Vadim Plessky <lucy-ples () mtu-net ! ru>
Date: 2002-07-26 13:09:32
[Download RAW message or body]
On Friday 26 July 2002 3:50 pm, oneugene@ukr.net wrote:
| Package: khtml
| Version: 4.0 (using KDE 3.0.2 )
| Severity: normal
| Installed from: Mandrake Linux Cooker i686 - Cooker
Hi,
May I ask you: waht do you expect from the table with cell width of 1%?
Even at 1024x768 resolution, it's 10pixels-wide cell, and there is no way to
insert word ('aword') in such cell!
Slightly modified example renders correctly both in Mozilla and in Konqueror.
<HTML>
<HEAD>
<title>Test - word wrap in tables</title>
</HEAD>
<BODY bgcolor="#ffffff" text="#000000">
<table border="1" width="100%">
<tr>
<td>Name</td>
<td width="10%">
aword
</td>
</tr>
</table>
</BODY>
</HTML>
Until you defineed table's width (as %% of parent element, or as, say, 300px)
- you can't claim that table (cell) is *too wide* or *too narrow*.
And, BTW, I recommend you to use CSS, not HTML attributes (like in your
example), to define table & cell widths.
| I have the next html code:
| <HTML>
| <HEAD>
| <META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
| </HEAD>
| <BODY bgcolor="#ffffff" text="#000000">
| <table border="1">
| <tr>
| <td>Name</td>
| <td width="1%">
| aword
| </td>
| </tr>
| </table>
| </BODY>
| </HTML>
|
| khtml draws text "aword" in two lines
| awor
| d
|
| if border attribute in <table> is 0 than everything is ok.
|
| (Complete bug history is available at
| http://bugs.kde.org/db/45/45792.html)
| _______________________________________________
| Konq-bugs mailing list
| Konq-bugs@mail.kde.org
| http://mail.kde.org/mailman/listinfo/konq-bugs
Regards,
--
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/
(Complete bug history is available at http://bugs.kde.org/db/45/45792.html)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic