Witam. Jaką może mieć przyczynę niewyświetlanie białego tła pod sekcjami strony, znajdujących się wewnątrz kontenera(
zrzut)?Dzieje się tak, mimo że ustawiłem dla niego height:auto;?Kod strony:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"> <meta name="description" content="" /> <meta name="keywords" content="" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <link rel="stylesheet" type="text/css" href="tpl/def/css/styl.css" media="all" /> <script type="text/javascript" src="libs/js/jquery/jquery.js"></script> <script type="text/javascript" src="libs/js/ss/ss.js"></script> <p>Dzisiaj jest czwartek / 13 sierpnia 2009 r. - 225 dzień roku.
</p> <li><a href="/">o mnie
</a></li> <li><a href="/">kontakt
</a></li> <li><a href="/">archiwum
</a></li> <div id="zw">sdasadsadLorem Ipsum is siLorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishingLorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishingmply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishingLorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing
</div> <div id="m">dfdffsdLorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishingLorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishingLorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing
</div>
CSS:
body
{
background:#000 url(../img/tlo.JPG) no-repeat;
background-position: center;
}
*
{
margin:0;
padding:0;
text-decoration:none;
list-style:none;
text-align:justify;
}
#top
{
height:125px;
}
#ko
{
background:#fff;
height:auto;
}
#top, #ko
{
width:94%;
margin:0 auto;
}
#podmenu
{
padding:9px 5px 0 5px;
height:23px;
}
#podmenu p
{
float:left;
color:#222;
font:normal 12px sans-serif;
text-transform:uppercase;
}
#podmenu ul
{
float:right;
font:bold 12px sans-serif;
}
#podmenu ul li
{
display:inline;
margin-left:2px;
}
#podmenu li a
{
color:#666;
text-transform:uppercase;
}
#podmenu li a:hover
{
color:#2E5C8A;
}
#zw
{
float:left;
height:auto;
width:70%;
display:block;
}
#m
{
float:right;
height:auto;
width:30%;
}
Pozdrawiam i dziękuję za odpowiedzi.