How to include CSS statements with comment tags

Post Reply
User avatar
Thunderstone
Site Admin
Posts: 2504
Joined: Wed Jun 07, 2000 6:20 pm

How to include CSS statements with comment tags

Post by Thunderstone »




In the search script that creates the search pages, is it
possible to include css tags taht are commented out by
<!-- -->. As such, leaving the tags in completely eliminates
teh CSS coding inside the tags, yet we would prefer to leave
the comment tags around the CSS so that older browsers do not
display text.

Is it possible to leave the comment tags in there, yet make
webinator not eliminate the stuff in the comment tags so that
the CSS can display properly on the search output pages?



User avatar
Thunderstone
Site Admin
Posts: 2504
Joined: Wed Jun 07, 2000 6:20 pm

How to include CSS statements with comment tags

Post by Thunderstone »



Yes. If you enclose such blocks of text with

<VERB NOESC>

</VERB>

then they will not be interpreted at all.

Or you can use <send> to protect just the open and close comment strings

<send "<!-- ">some text<send " -->">

John Turnbull
-------------
Thunderstone Software

Thomas Weng said:


Post Reply