stworzyłem coś takiego:
<div id="content"> <div class="left_content"> </div> <div class="left_content"> </div> <div class="right_content"> </div> </div> #content{ float: left; background-color: #070707; overflow: hidden; } .left_content, .right_content{ margin: 0px 10px 0px 10px; } .left_content{ float:left; width:550px; } .right_content{ float: !important; width:160px; } .cim{ background-image: url('../images/left_button.png'); height:32px; } .cim_right{ background-image: url('../images/right_button.png'); height:32px; }
I wszystko jest ok lecz gdy warstwa left_content jest tylko jedna warstwa right_content pokazuje się pod left_content i aby wtedy było ok musze zamienić float: !important; na float: left;. Pomożecie jak to rozgryźć
