http://koka.pctk.pl
Jak poinformować dwa pozostałe divy, żeby dorównały się od tego odchodzącego?
Przykładowo, jeśli nagłówek przesunie część kolumny. Dolne powinny overflowem, łapać szerokość do końca i ustawiać własną grafikę poszerzoną o repeat.
Chodzi mi głównie bardziej o logikę zbudowania czegoś takiego, ew. naprowadzenie.
body{ background:url('../grafika/tlo.png') repeat-x; background-color: #ffc54f; font-family:Arial; font-size: 11px; color:#4e4e4e; padding:0; margin:0; /*overflow-y: scroll;*/ } .dtresc{ float:left; } .rogi{ float:left; } /* gora */ .lgr{ background:url('../grafika/dymki_01.png') no-repeat; width:52px; height:27px; float:left; } .topg{ background:url('../grafika/dymki_02.png') repeat-x; min-width:236px; height:27px; float:left; color:#ff7800; line-height:40px; font-size:12px; font-weight:bold; overflow:hidden; } .pgr{ background:url('../grafika/dymki_03.png') no-repeat; width:33px; height:27px; } /* srodek */ .lr{ background:url('../grafika/dymki_04.png') no-repeat; width:22px; height:37px; float:left; clear:both; } .trg{ background:url('../grafika/dymki_05.png') repeat-x #f2f2f2; min-width:266px; min-height:37px; float:left; overflow:hidden; } .pr{ background:url('../grafika/dymki_06.png') no-repeat; width:33px; height:37px; } /* dol */ .ldr{ background:url('../grafika/dymki_07.png') no-repeat; width:105px; height:47px; float:left; clear:both; } .btg{ background:url('../grafika/dymki_08.png') no-repeat; min-width:183px; height:47px; float:left; } .pdr{ background:url('../grafika/dymki_09.png') no-repeat; width:33px; height:47px; }