> From: Michiel van der Blonk
> Sent: Thursday, August 11, 2005 2:45 PM

> To: CSS Discuss List; WebDesign-L
FYI: cross-posting isn't allowed:
http://www.css-discuss.org/policies.html#policies.

> We are having a strange problem in FF (1.06). Look at
> 
> http://test5.caribmedia.com/doctype.html
> When we look at it, the validator says the HTML and CSS are flawless, 
> but the CSS is not applied to the page!
> 
> The same page without a doctype does apply the CSS.
> http://test5.caribmedia.com/nodoctype.html
> 
> We tried several doctypes, e.g.
> <?xml version="1.0" encoding="utf-8"?>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
>         "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
> <html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
> 
> What's wrong?

I know the <?xml > causes problems in several browsers -- when you remove that
AND the xml:lang="en" from the HTML tag, and it displays the same as your
nodoctype.html page. I've never used anything more than <html>, so these tags
may be required for you. If so, sorry, can't help there.

--G

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to