kako da namestim i da li postoji mogucnost, da kako se povecava height content layer-a da se copyright layer tako automatski
ispusta...odnosto da se height layer-a wrapper povecava.
evo i koda...
<!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>Untitled Document</title>
<style type="text/css">
.wrapper {
background-color: #CCC;
width: 800px;
border: 1px solid blaack;
position: relative;
margin-top: 0px;
margin-right: auto;
margin-bottom: 0px;
margin-left: auto;
}
.topspacer {
background-color: darkred;
height: 30px;
width: 800px;
position: relative;
margin-top: 0px;
margin-right: auto;
margin-bottom: 0px;
margin-left: auto;
}
.header {
height: 200px;
width: 800px;
border: 1px solid black;
position: relative;
clip: rect(0px,auto,0px,auto);
}
.spacer2 {
background-color: darkred;
height: 30px;
width: 800px;
margin-top: 0px;
margin-right: auto;
margin-bottom: 0px;
margin-left: auto;
position: relative;
}
.navigation {
width: 200px;
margin-top: 0px;
margin-right: auto;
margin-bottom: 0px;
margin-left: 0px;
border: 1px solid black;
position: relative;
}
.banners {
background-color: black;
width: 200px;
margin-top: 0px;
margin-right: auto;
margin-bottom: 0px;
margin-left: 0px;
position: relative;
}
.copyright {
background-color: black;
height: 30px;
width: 800px;
margin-top: 0px;
margin-right: auto;
margin-bottom: 0px;
margin-left: auto;
position: relative;
}
.content {
background-color: #FFC;
width: 600px;
border:1px solid black;
position: absolute;
left: 200px;
top: 260px;
height: 200px;
}
</style>
</head>
<body>
<div class="wrapper">
<div class="topspacer"></div>
<div class="header"></div>
<div class="spacer2"></div>
<div class="navigation">
<p>nav1</p>
<p>nav2</p>
<p>nav2</p>
</div>
<div class="content"></div>
<div class="banners">
banner</div>
<div class="copyright">Content for class "copyright" Goes Here</div>
</div>
</body>
</html>
mod: dodati [code][/code] tagovi
[Ovu poruku je menjao Aleksandar Ružičić dana 01.03.2011. u 00:49 GMT+1]