----- Original Message ----- From: "Bert Doorn" <[EMAIL PROTECTED]> To: <wsg@webstandardsgroup.org> Sent: Wednesday, June 01, 2005 12:05 PM Subject: Re: [WSG] CDATA and html tidy
> G'day > > > When I run HTML tidy on a file (XHTML strict), it always wants to add > > "/*<![CDATA[*/" inside my CSS section: > ... > > Should I actually be doing that? > > See http://www.w3.org/TR/xhtml1/diffs.html#h-4.8 > > I've never had occasion to use <![CDATA[ ... ]]> in any of my > (valid xhtml1.0 Strict) sites. Avoid the characters that make it > necessary and/or usually use external style sheets (and external > javascript files). > > Regards > -- > Bert Doorn, Better Web Design > http://www.betterwebdesign.com.au/ > Fast-loading, user-friendly websites > Thanks Bert, but I'm finding that a simple import such as: <style type="text/css"> @import url("../CSS/primary.css"); </style> is 'tidied' into: <style type="text/css"> /*<![CDATA[*/ @import url("../CSS/primary.css"); /*]]>*/ </style> So I doubt that I'm doing anything 'wrong' - am I? Bob McClelland, Cornwall (U.K.) www.gwelanmor-internet.co.uk ****************************************************** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************