html head style type text css body width 100 margin padding div0 posit

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<html >
<head>
<style type="text/css">
body
{
width:100%;
margin:0;
padding:0;
}
.div0 { position:absolute; }
.div1 { width: 100%;
}
.div5 { width:100%; position:relative; top:-1.3em;}
.div2 { width:49%;border:1px solid red; position:relative;right:450px; display:inline-block;}
.div4 { width:49%;border:1px solid cyan; position:relative;left:450px; display:inline-block;}
.div3 { width:900px; margin: 0 auto; border:1px solid green; position:relative;}
</style>
</head>
<body>
<div class="div0">
<div class="div1">
<div class="div2">&nbsp;
</div>
<div class="div4">&nbsp;
</div>
</div>
<div class="div5">
<div class="div3">&nbsp;
</div>
</div>
</div>
qweqweqw
</body>
</html>