-1 |
|
hey,
het is echt bijna te belachelijk om te vragen, maar ik krijg niet eens 2 div's fantsoenlijk over elkaar geplaatst.
http://ontani.no-ip.com/eS/Untitled-1.htm
werkt perfect in Netscape (waarschijnlijk ook FF dan) maar in IE is er een spatie tussen shaddowTop en total wat ik raar vind want shaddowTop zit in total.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<style type="text/css">
<!--
body, html {
background-color: #535450;
height: 100%;
margin: 0px;
}
.total {
background-image: url("images/index_17.gif");
width: 900px;
height: 100%;
margin-left: auto;
margin-right: auto;
}
.shaddowTop {
background-repeat:no-repeat;
background-image: url("images/index_03.gif");
height: 16px;
width: 900px;
}
-->
</style>
</head>
<body>
<div class="total">
<div class="shaddowTop"></div>
</div>
</body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <style type="text/css"> <!-- body, html { background-color: #535450; height: 100%; margin: 0px; } .total { background-image: url("images/index_17.gif"); width: 900px; height: 100%; margin-left: auto; margin-right: auto; } .shaddowTop { background-repeat:no-repeat; background-image: url("images/index_03.gif"); height: 16px; width: 900px; } --> </style> </head> <body> <div class="total"> <div class="shaddowTop"></div> </div> </body> </html>
|