[prev in list] [next in list] [prev in thread] [next in thread]
List: kfm-devel
Subject: Re: khtml and <pre>
From: Lars Knoll <knoll () mpi-hd ! mpg ! de>
Date: 1999-11-30 9:09:27
[Download RAW message or body]
On Tue, 30 Nov 1999, Simon Josefsson wrote:
> Lars Knoll <Lars.Knoll@mpi-hd.mpg.de> writes:
>
> > Read the HTML4 specs. The content of <pre> is only allowed to be of type
> > inline. <h1> is a block level element. So this is illegal html, and khtml
> > will assume and </pre> pefore the <h1>. To get it the way you want it to
> > look, use
> >
> > <h1>foo</h1>
> > <pre>
> > <a href="foo">bar</a>
> > <a href="bar">foo</a>
> > </pre>
>
> I'll forward this to the Apache people, after checking it isn't
> already fixed in a current version.
>
> (All auto-generated directory listings by Apache I've seen render very
> ugly in konqy, ie http://www.pdc.kth.se/~jas/ds/)
Just had a look at it. The problem is actually the <hr> tag inside <pre>. But
the same thing I said above also applies to <hr>. It is a block level element
and forbidden inside <pre>.
Cheers,
Lars
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic