Witam,
jestem w trakcie kodowania szablonu na divach i napotkałem problem. Szablon ma dwa panele, ale prawy panel nie jest w ogóle wyświetlany. Co więcej, jeżeli wpiszę jakiś tekst do lewego panelu, to nie pokaże się on w panelu, tylko na prawo od niego. Oto kod:
HTML:
<?xml version="1.0" encoding="iso-8859-2"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pl"> <meta http-equiv="Content-type" content="application/xhtml+xml; charset=iso-8859-2" /> <meta name="Author" content="Kacper -Signe- Łabędź e-mail: maruda41@gmail.com" /> <meta name="Generator" content="kED" />
<link rel="stylesheet" href="style.css" type="text/css" /> <a href="#" class="nawi_button"><img src="images/nawi_1.png" alt="Strona Główna" /></a> <a href="#" class="nawi_button"><img src="images/nawi_2.png" alt="Kontakt" /></a> <a href="#" class="nawi_button"><img src="images/nawi_3.png" alt="Kategorie" /></a> <a href="#" class="nawi_button"><img src="images/nawi_4.png" alt="Galeria" /></a> <a href="#" class="nawi_button"><img src="images/nawi_5.png" alt="Artykuły" /></a> <a href="#" class="nawi_button"><img src="images/nawi_6.png" alt="Logowanie" /></a> <a href="#" class="nawi_button"><img src="images/nawi_7.png" alt="Rejestracja" /></a> <a href="#" class="nawi_button"><img src="images/nawi_8.png" alt="Profil" /></a> <div id="luk"><img src="images/luk_t.png" alt="gry-newsy.pl" /></div> <a href="http://youtube.com/user/GryNewsypl" class="social"><img src="images/social_1.png" alt="YouTube" /></a> <a href="http://www.facebook.com/pages/Gry-Newsypl/135557193134013" class="social"><img src="images/social_2.png" alt="Facebook" /></a> <a href="http://gry-newsy.pl/index.php?format=feed&type=rss" class="social"><img src="images/social_3.png" alt="RSS" /></a>
</div class="srodek_top"></div> </div class="srodek_data"></div> </div class="srodek_kont"></div> </div class="srodek_end"></div>
CSS:
html, body
{background-color: #0b7dbf;
background-image: url(images/bg.jpg);
text-align: left;
background-repeat: repeat-x;
font-size: 12px;
font-family: verdana, tahoma, arial, helvetica, sans-serif;
color: #fff;
width: 950px;
margin: 0 auto;
padding: 0;
}
img
{border: 0px;
}
h1
{font-size: 1.4em;
font-weight: bold;
}
h2
{font-size: 1.2em;
}
h3
{font-size: 1em;
font-weight: bold;
}
a
{color: #d9d9d9;
}
a:visited
{color: #d9d9d9;
}
a:hover
{color: #09539c;
}
#content
{width: 950px;
margin: auto;
}
#belka_g
{background-image: url(images/belka_t.png);
background-repeat:no-repeat;
text-align:left;
width: 950px;
height: 41px;
}
#nawi
{width:810px;
padding-left: 15px;
}
#luk{
float:right;
width: 125px;
height: 40px;
}
#logo{
background-image: url('images/logo.png');
background-repeat: no-repeat;
background-position: 20px;
height:181px;
width:950px;
}
#cont{
width:950px;
height:auto;
text-align: center;
}
#belka_cont{
width:950px;
height: 41px;
text-align: left;
background-image: url('images/belka_kont.png');
background-repeat: no-repeat;
margin: 0;}
#social{
float: left;
padding-left: 15px;
height: 30px;
padding-top: 11px;}
#szukajka{
float: right;
height: 41px;
margin-left: 0;
}
#kontener{
background-color: #08499b;
width:930px;
height: auto;
padding: 10px;
margin:0;
margin-top: -1px;
}
#bok{
width: 265px;
height: auto;
float: left;
padding: 0;
}
#srodek{
width: 655px;
height: auto;
float: right;
padding:0;
}
.bok_top{
width: 655px;
height: 40px;
min-height: 40px;
background-image: url('images/belka_b.png');
background-repeat: no-repeat;
text-transform: uppercase;
}
.bok_kont{
width: 655px;
height:auto;
min-height: 20px;
background-image: url('images/tlo_b.png');
background-repeat: repeat-y;
}
.bok_end{
width: 655px;
height: 6px;
min-height: 6px;
max-height: 6px;
background-image: url('images/tlo_b_d.png');
background-repeat: no-repeat;}
.srodek_top{
width: 655px;
height: 40px;
min-height: 40px;
background-image: url('images/belka_s.png');
background-repeat: no-repeat;}
.srodek_data{
width: 655px;
height: 23px;
min-height: 23px;
max-height: 23px;
background-image: url(images/tlo_s_g.png);
background-repeat: no-repeat;}
.srodek-kont{
width: 655px;
height: auto;
min-height: 20px;
background-color: #373737;}
.srodek_end{
width: 655px;
height: 11px;
min-height: 11px;
max-height: 11px;
background-image:url('images/tlo_s_d.png');}
.social{
height: 21px;
display:block;
overflow: hidden;
float: left;
padding-left:5px;
}
.social :hover{
margin-top: -21px;}
.nawi_button{
height: 41px;
display:block;
overflow: hidden;
float:left;
}
.nawi_button :hover{
margin-top:-41px;}
.szukajka{
background-image: url('images/search.png');
width: 133px;
height: 20px;
border: 0;
}
.szukaj {
background-image: url('images/search_go.png');
width:29px;
height: 21px;
border: 0;
}
Proszę o pomoc

Siedzę nad tym już z godzinę, przewaliłem kod kilkadziesiąt razy ale dalej nie widzę problemu.