Als ik de img tag gebruik zie ik de image, maar als ik het als background zet niet.. iemand een idee waarom ? het moet als background staan want ik wil er dingen bovenop laten zien.
| Code: |
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>pagina.php</title>
<style type="text/css" media="screen">
<!--
body {
margin-left: 2px;
margin-top: 2px;
margin-right: 2px;
margin-bottom: 2px;
}
#spacer {
width:100%;
height:200px;
background-image:url(img/headerBG.jpg);
border:thin solid #000000;
}
#header {
width:100%;
height:150px;
background-image:url(img/headerLANG.gif);
border:thin solid #000000;
}
#menucontainer {
position:relative;
height:1.6em;
width:100%;
background-color: #b0a07e;
/* margin-left:2%; */
float: left;
}
</style>
</head>
<body>
<div id="spacer">
</div><!-- end #spacer -->
<div id="menucontainer">
</div><!-- end #menucontainer -->
<div id="header">
</div><!-- end #header -->
</body>
</html>
|