Du er nødt til at vise en eksempelside frem.
Nicolai
Herunder først css-filen og så html filen
#leftcol ligger inden i #main
Baggrundsbilledet i #main vises fint, men baggrundsbilledet i #leftcol vises ikke
body, html {
height: 100%;
margin:0 auto;
padding: 0;
position: relative;
background-color:#000000;
}
#main {
background-image: url(bagg.gif);
background-repeat: repeat-y;
position:relative;
width:790px;
height:100%;
background-color:#E5E5E4;
margin:0 auto;
border-left: 1px solid black;
}
#leftcol {
background-image: url(aaoo.gif);
position:absolute;
left: 400px;
top:50px;
width:400px;
height:300px;
background-repeat: repeat-y;
}
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>[Ingen titel]</title>
<meta name="Generator" content="Stone's WebWriter 4">
<link rel="stylesheet" href="c.css" type="text/css" />
</head>
<body>
<div id="main">
l
<div id="leftcol">
tekst
</div>
<div>
</body>
</html>