Hi,

In the example below there is a green area below the image. I don't want
this area. If I remove the dtd then the green area goes away and leaves me
with what I want. How can I get rid of the green area if I want to write a
strict html doc

Thanks,
Peter

<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
<html>
<head>
<style type="text/css">
body {
margin: 0;
padding: 0;
}
#header {
background: lightgreen;
width: 100%;
}
</style>
</head>
<body>
<div id="header">
<img alt="Logo" src="../shop/public/images/logo.png" />
</div>
</body>
</html>
______________________________________________________________________
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