cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Morrison" <john.r.morri...@ntlworld.com>
Subject RE: Forrest (a.k.a. xml.apache.org 2.0)
Date Mon, 24 Dec 2001 14:09:26 GMT
They _were_ in the HTML spec, but have been deprecated in 4.0:

"The deprecated WIDTH attribute of PRE tells the browser the expected line
length of the preformatted block so that a suitable font size or margin can
be used. Browsers ignore this attribute in practice."

Nice though - would have been useful.

J.

> -----Original Message-----
> From: Matt Sergeant [mailto:matt@sergeant.org]
> Sent: Monday, 24 December 2001 2:02 pm
> To: cocoon-dev@xml.apache.org
> Subject: Re: Forrest (a.k.a. xml.apache.org 2.0)
>
>
> On Sun, 23 Dec 2001, Stefano Mazzocchi wrote:
>
> > > Is <pre> the only possibility for displaying source code?
> >
> > Well, we need a monospaced font or you can say goodbye to your nice
> > indentation. And tell me how we can have xml and java examples without
> > respected indentation.
> >
> > If you have suggestions, I'm wide open.
>
> FWIW, I use <pre width="80" cols="80"> on some sites. Seems to take care
> of wrapping quite neatly, although I don't think those attributes are in
> the HTML spec.
>
> --
> <!-- Matt -->
> <:->Get a smart net</:->
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message