When I add a DTD to the html code of my web page the background color  
of every element disappears.

index.html:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http:// 
www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
        <head>
         <link rel="stylesheet" type="text/css" href="style.css" />
        </head>
        <body>
                
        </body>
</html>

style.css:

body {
background-color:000000;
}

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

Reply via email to