HighDots Forums  

How to prevent HTML from being parsed

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss How to prevent HTML from being parsed in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Samuel Murray
 
Posts: n/a

Default How to prevent HTML from being parsed - 09-03-2008 , 05:36 AM






G'day everyone

Do you know if it is possible to use CSS to prevent HTML that is
encapsulated by a certain tag pair from being parsed?

I mean, I would like this:

<p><a href="foo"><b>asdf</b></a></p>

to be displayed as if the code were this:

<p>&lt;a href="foo"&gt;&lt;b&gt;asdf&lt;/b&gt;&lt;/a&gt;</p>

I'm not sure if this is possible but it would be very cool if it were.

Thanks!

Samuel (aka leuce)



Reply With Quote
  #2  
Old   
Harlan Messinger
 
Posts: n/a

Default Re: How to prevent HTML from being parsed - 09-03-2008 , 10:55 AM






Samuel Murray wrote:
Quote:
G'day everyone

Do you know if it is possible to use CSS to prevent HTML that is
encapsulated by a certain tag pair from being parsed?
It isn't.



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.