I've seen people using CDATA sessions in their external stylesheets /*<![CDATA[ .wrapper {width:768px; text-align:left; margin:0 auto} .background {background:#999} /*]]>*/ Code (External Stylesheet example): My question is why? I understand the use for inline styling to keep the markup valid and non-parsing in XHTML. However having it in external documents being sent as text/css will not be treated as xhtml anyway, so the use of CDATA seems redundant?
You missed the first closing comment token in your sample code so that whole thing will be ignored. But, you're correct: it's completely unnecessary in an external file.