Posted by Mark Parnell on 10/02/80 11:54
Deciding to do something for the good of humanity, John O'Conner
<jsoconner2@NOSPAMearthlink.net> declared in alt.html:
> I've been told that I can no longer use pre-tags for code sample text.
Why? By who? Certainly not the W3C.
> My question is this: how can I duplicate the pre-tag functionality with
> other tags
white-space: pre; - but support is not as good as it is for the <pre>
element (not supported by IE<6).
There was a discussion of this only last week or something. IIRC the
consensus was that generally the best solution is something along the
lines of:
<pre><code>
code here
</code></pre>
--
Mark Parnell
My Usenet is improved; yours could be too:
http://blinkynet.net/comp/uip5.html
Navigation:
[Reply to this message]
|