cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Koberg" <...@koberg.com>
Subject Re: Forrest (a.k.a. xml.apache.org 2.0)
Date Wed, 26 Dec 2001 15:13:26 GMT
I was just thinking about this...

What do you think of:
-------------------------------------------
<!-- the pre class is set to a monospaced font and changes borders to make
it look different from a form input-->

<textarea rows="10" cols="80" class="pre">

myCode() {
   jhjhjhjk
   ikljkjklj
      jkhjkhjkh
      kjlhkjhjkhnkj
}

</textarea>
-------------------------------------------
This has the benefit/problem of having a (not necessarily) fixed height so
pages could be shorter.

best,
-Rob

----- Original Message -----
From: "Matt Sergeant" <matt@sergeant.org>

> On Mon, 24 Dec 2001, John Morrison wrote:
>
> > 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."
>
> Hmm, interesting... Is it replaced by some CSS attribute you could use
> instead?



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


Mime
View raw message