</html>
</body>
<title></title>
<link href="style.css" rel="stylesheet" type="text/css" media="screen" />
<div id="class1">
</div>
<div id="class2">
</div>
<div id="class3">
</div>
<div id="class4">
</div>
<div id="class5">
</div>
</body>
</html>
Jak widzicie jest to krótkie i proste teraz kod css trzeba dobrze umieć css głównie pozycjonować przejdźmy do kodu Css
body {
background: #222222;
}
#class1 {
margin-top:;
margin-left:;
width: 1415px;
height: 80px;
background: #C2B43A;
color: #222222;
}
#class2 {
position: absolute;
margin-top:;
margin-left:;
width: 180px;
height: 600px;
background: #A7AB41;
}
#class3 {
position: absolute;
margin-top: -92px;
margin-left: 180px;
width: 1054px;
height: 600px;
background: #F2EA9D;
}
#class4 {
position: absolute;
margin-top: -92px;
margin-left: 1234px;
width: 181px;
height: 600px;
background: #B6C43C;
}
#class5 {
position: absolute;
width: 1415px;
height: 40px;
margin-top: 509px;
margin-left:;
background: #111111;
color: #999999;
}
Mam nadzieje że dobrze wytłumaczyłem i wyraźnie.
Użytkownik bartek1998 edytował ten post 10 11 2011 - 23:36