Parsing comments - CSS1 stylesheets
Stuart Harris (StuartH@tsg.europe.dg.com)
Fri, 2 Aug 1996 14:23:38 -0000
I've had a look through the archive at previous suggestions about
incorporating comment parsing. Does anyone know if there is a solution
yet? The reason I ask is that comments are starting to be used to hide
valid HTML from browsers that don't support it.
For example, comments have to surround CSS1 data to prevent Netscape
interpreting it as text:
<STYLE TYPE="text/css">
<!--
BODY { background: white;
color: lightgrey;
font-size: 10px;
font-family: Verdana }
-->
</STYLE>
After parsing, the style data would be removed.
Rgds.,
Stuart