Stripes
Posted: Sun Dec 04, 2005 11:34 am
Have a look at this:
You can see that there is no space between the two divs. But IE still puts it there. How could I avoid this? I wouldn't want to use images/tables for this purpose...
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html>
<head>
<title>Title</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style>
body, html
{
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
body
{
background-color: #F9F6EF;
color: #000000;
}
#bottom-stripe-2
{
background-color: #3C4982;
height: 4px;
line-height: 4px;
}
#bottom-stripe-3
{
background-color: #7C8E98;
height: 10px;
line-height: 10px;
}
</style>
</head>
<body>
<div id="bottom-stripe-2"> </div>
<div id="bottom-stripe-3"> </div>
</body>
</html>