Width of http://www.gentoo.org/doc/build.html

Vadim Plessky lucy-ples at mtu-net.ru
Fri Jun 14 10:12:24 BST 2002


On Friday 14 June 2002 1:34 am, Koos Vriezen wrote:
|  On Thu, 13 Jun 2002, Rolf Magnus wrote:
|  > On Thursday 13 June 2002 22:18, Koos Vriezen wrote:
|  > > Hi,
|  > >
|  > > This page is rendered by khtml very wide, its hardly readable.
|  > > Attached a small fragment of this page, that's already too wide. It
|  > > seems to be the combination of FONT tags inside PRE tags inside a
|  > > table cell. Is this a known problem?
|  >
|  > I don't know if it's a known problem in khtml, but it's broken html.
|  > <font> tags aren't allowed in <pre>.
|
|  Ok, what about this page
|  http://www-106.ibm.com/developerworks/java/library/j-javaopt/?loc=j
|  They use SPAN inside PRE tags. Substituting font with span, in the test
|  case, is rendered also too wide. Seems to help to %s/<span [^>]*>//g and
|  %s/<\/span>//g in vi on this page.
|  Is SPAN also not allowed?

ANY tags are not allowed inside <pre>.
IMO, KHTML should just ignore such tags inside.

As about IBM pages - well, they are known to have crappy HTML :-(
Unfortunately, none of major IT companies takes care to check their pages with 
Validator.

|
|  Koos

-- 

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/





More information about the kfm-devel mailing list