<style type="text/css"> #content {width: 859px; background-color:black; display: table;} #content .con_g {height: 21px; } #content .con_s {height:100% } #content .con_d {height: 21px; } #content .lewo {width: 42px; float:left; } #content .srodek {width: 778px; float:left; } #content .prawo {width: 39px; float:right; } #content .con_g .lewo { background-color: green;} #content .con_g .srodek { background-color: red} #content .con_g .prawo { background-color: green;} #content .con_s .lewo {height: 100%; background-color: yellow; } #content .con_s .srodek {height: 100%; background-color: blue; } #content .con_s .prawo {height: 100%; background-color: yellow; } #content .con_d .lewo { background-color: green; } #content .con_d .srodek { background-color: red; } #content .con_d .prawo { background-color: green; } </style> </head> <body> <div id="content"> <div class="con_g"> <div class="srodek">sg </div> </div> <div class="con_s"> </div> </div> <div class="con_d"> </div> </div> </div>
Chce zeby srodkowa sekcja dopasowywala sie do rozmiaru zawartosci. W IE wszystko dziala jak nalezy FF niestety nie wyswietla dolnego wiersza. Jakies pomysly?