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" <[EMAIL PROTECTED]>
> 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: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]