Jeff Kish wrote:
Quote:
Please excuse me if this does not belong in this group.. maybe a jsp
group? I am a beginner. I thought that this tag indicated a comment that
was passed through to the browser but not acted upon: <!-- yada yada yada
--
style type="text/css"
!--
span.kan {color: #ff0000}
--
/style |
The content of <style> tags is CDATA, this means that SGML has no effect
inside it, hence the comments are not comments.
The idea of using SGML comments inside a CDATA block is to hide the content
from older browsers (like Netscape 2) which can't cope with any HTML 4.x.
I consider this a highly suboptimal solution and suggest you stick to
external CSS files attached to the document with a <link> element.
--
David Dorward
http://dorward.me.uk/