Witam mam taki szablon
http://www.fusions.cba.pl/kierowcy/index.phpI moje pytanie jak zrobić by lewa kolumna id nav jej wysokość była automatycznie dopasowana do wysokości div id content
Kod
Site name
Lorem ipsum..
Page heading
test test test test test test test test test test test test test test test test
test test test test test test test test test test test test test test test test
test test test test test test test test test test test test test test test test
test test test test test test test test test test test test test test test test
test test test test test test test test test test test test test test test test
test test test test test test test test test test test test test test test test
test test test test test test test test test test test test test test test test
test test test test test test test test test test test test test test test test
test test test test test test test test test test test test test test test test
Footer stuff here
body
{
margin: 0;
padding: 0;
color: #000;
background-color: #ddd;
}
#container
{
margin: 1em 5%;
background-color: #CCCCFF;
border: 1px solid #333;
}
#banner
{
background-color: #666;
border-bottom: 1px solid #333;
}
#banner h1
{
margin: 0;
padding: .5em;
}
#nav
{
float: left;
width: 190px;
background-color: #FFFFCC;
border-right: 1px solid #333;
height: auto;
}
#nav p
{
margin-top: 0;
}
#content
{
padding-top: 1em;
margin: 0 2em 0 200px;
}
#footer
{
clear: both;
background-color: #666;
padding: 1em;
text-align: right;
border-top: 1px solid #333;
}
Ten post edytował arzach 12.08.2010, 17:57:45