Sent by Bjoern Hoehrmann on 29 January 2005 07:07
* Jared Stein wrote:
>What property could I use to replicate the non-rendering behavior of the
>deprecated MS XMP element?
Note that <xmp> is not a proprietary element, it was included in the
first HTML proposals and got deprecated in HTML 2.0. There is no way
to achieve that using CSS, what you want to control is not the ren-
dering of the element (content) but rather the interpretation of the
markup. You could use <pre> and a CDATA section like
<pre><![CDATA[...]]></pre>
which would be slightly different from (the original) <xmp> in that
markup is not recognized until ]]> rather than </xmp> but generally
does what you are looking for. Support for CDATA sections is however
about as uncommon as XHTML support.
--
Björn Höhrmann · [EMAIL-REMOVED] · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/