-
transforming xml into xhtml with netscape
Hello, I'm trying to use xsl to transform xml content into an xhtml page. I've written the xhtml and tested it out in NN and IE and it works fine in both (it's a layout based entirely on CSS instead of tables). After using xsl though, the output for IE looks just fine but on NN 7 it's off by a bit. I suspect it's because < ! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" > is missing from the transformed file so that NN isn't parsing the CSS the way I want it to. Is there a workaround for this? Thanks.
-
Talk about opening the wrong bag of apples...
You've stumbled into a _very_ bad area. Basically MS and Mozilla will never agree.
Different browsers interpret DTD's differently... in one browser it might be quirks mode, in another it might be standards mode...
All I can say is either do two different CSS documents, or figure out a different way to layout your page, or cut a browser out... other than that - good luck.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|