On Thu, Dec 07, 2006 at 03:48:46PM +0000, Chris Price wrote: > I don't understand why there is a problem with document.write and how > that invalidates the XHTML.
Using document.write doesn't invalidate the XHTML, there just aren't any implementations of XHTML parsers that can handle document.write (AFAIK). On the other hand, hiding markup inside JavaScript just to get a page to pass the validator is a very ugly hack ... and rather misses the point of using valid code in the first place. > Looking at the page called by the javascript I imagine I would have to > declare the parent page as transitional Some of the generated markup doesn't conform to any standard. > or can you have a transitional page inside an iframe and still > declare the parent page strict? No. iframe doesn't appear in Strict. -- David Dorward http://dorward.me.uk ******************************************************************* List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *******************************************************************
