[thelist] apply PRE formatting with css?
Joe Crawford
jcrawford at avencom.com
Fri Aug 31 12:10:00 CDT 2001
You should take a look at this - this is the CSS1 spec:
http://www.w3.org/TR/REC-CSS1#white-space
I fear though, that I can't comment on how reliable it is among actual
browsers.
Best,
Joe <http://artlung.com/>
nate koechley wrote:
> i was wondering if there was a way to achieve this:
> <div><pre>
> source code
> </pre></div>
> without the <pre> tags. in other words, can I apply "pre" formatting by
> using CSS? I'm tyring to find the best way to display source code on a
> page. is there a best practice out there to display source code on the page?
>
> on a related note, does anybody have a script or homesite extension form
> translating all the [< ] to [ < ] (acutally, all the carets, quotes,
> etc...)?
--
................... Joe Crawford \\ Web Design & Development
..... mailto:jcrawford at avencom.com \\ http://www.avencom.com
.... San Diego \\ CA \\ USA \\ AVENCOM: Set Your Sites Higher
More information about the thelist
mailing list