Hi,
This is driving me nuts, I have designed with <div> tags before but with no problem, maybe its something in the drinking water.
Basically when you load this code, you will see what I am trying to do, but the yellow background wont strech any futher and it needs to incoperate that blue box.
Why is it going wrong for????
Cheers
James
This is driving me nuts, I have designed with <div> tags before but with no problem, maybe its something in the drinking water.
Basically when you load this code, you will see what I am trying to do, but the yellow background wont strech any futher and it needs to incoperate that blue box.
Why is it going wrong for????
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<style type="text/css">
<!--
.test {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
color: #999999;
}
-->
</style>
</head>
<body>
<div id="backgr" style="position:relative; left: 0px; top: 200px; width:100%; height:400px z-index:9; background-color: #ffffcc; layer-background-color: #ffffcc; border: 1px none #000000;">
<div id="Layer1" style="position:relative; Left: 25px; top: 25px; width:50px; height:50px; z-index:1; background-color: #999900; layer-background-color: #999900; border: 1px none #000000;">
<div id="Layer2" style="position:relative; Left: 75px; width:50px; height:50px; z-index:2; background-color: #CC3366; layer-background-color: #CC3366; border: 1px none #000000;">
<div id="Layer3" style="position:relative; Left: 75px; width:50px; height:50px; z-index:3; background-color: #99CC66; layer-background-color: #99CC66; border: 1px none #000000;">
</div>
</div>
</div>
<div id="Layer5" style="position:relative; left: 25px; top: 50px; width:50px; height:50px; z-index:4; background-color: #ccffcc; layer-background-color: #ccffcc; border: 1px none #000000;">
<div id="Layer6" style="position:relative; left: 75px; top: 0px; width:50px; height:50px; z-index:5; background-color: #ccffcc; layer-background-color: #ccffcc; border: 1px none #000000;">
</Div>
</Div>
<div id="Layer7" style="position:relative; left: 25px; top: 75px; width:50px; height:50px; z-index:6; background-color: #0033cc; layer-background-color: #0033cc; border: 1px none #000000;">
</div>
</div>
</body>
</html>
Cheers
James