Originally posted by fredmv
<style type="text/css">
/*<![CDATA[*/
body {
margin: 0;
padding: 0;
border: 0;
}
/*]]>*/
</style>
fredmv, I've noticed how you include the cdata tags in a few posts since I've started reading here...
What is the significance of the cdata in the <style> tag?Rather observant of you. I've explained it in this thread (<!-- m --><a class="postlink" href="http://www.webxpertz.net/forums/showthread.php3?s=&threadid=27224#post147808">http://www.webxpertz.net/forums/showthr ... post147808</a><!-- m -->). It's also used with embedded JavaScript as well. If you need any further clarificiation, please feel free to ask. Yes it as all right as long as you aren't using XHTML served as an application of XML.
I tend to forget that point.
<style type="text/css">
/*<![CDATA[*/
body {
margin: 0;
padding: 0;
border: 0;
}
/*]]>*/
</style>
fredmv, I've noticed how you include the cdata tags in a few posts since I've started reading here...
What is the significance of the cdata in the <style> tag?Rather observant of you. I've explained it in this thread (<!-- m --><a class="postlink" href="http://www.webxpertz.net/forums/showthread.php3?s=&threadid=27224#post147808">http://www.webxpertz.net/forums/showthr ... post147808</a><!-- m -->). It's also used with embedded JavaScript as well. If you need any further clarificiation, please feel free to ask. Yes it as all right as long as you aren't using XHTML served as an application of XML.
I tend to forget that point.