Forum Moderators: not2easy
I have an application which validates succesfully to xhtml1.1. - at the top of our page we have the following deceration:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
The stylesheet is imported by:
<link type="text/css" media="screen" rel="stylesheet" href="/myCss.css"/>
or by...
<style type="text/css" media="screen">
<!--
@import url("../myCss.css");
-->
</style>
Either way, when we use Netscape, the page displays poorly as the stylesheet is not picked up.
It's always fine in IE6.
Any suggestions please as to why this might happen please?
It only happens in Netscape when I use the following HTML decleration:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-GB">
I'm wondering if the stylesheet also has to conform to a standard. Here's an example of mine - is there anything wrong with it please? It's just a simple file:
-------------------------
body {
background-color: #eef9f9;
}
.normal {
color:#666;
font-size:10px;
line-height:14px;
font-weight:700;
font-family:verdana, arial, helvetica, sans-serif;
margin:0;
padding:0;
}
-------------------------
Many thanks for any advice.