Имам супер гадно разместване под Internet Explorer 6 ... Значи ето това ми е кода
Ето го и css-то
[css].lastgames_bg{float:left;background:url(images/lastgames_bg.png) repeat-x;height:159px;width:355px;
-moz-border-radius: 5px; -webkit-border-radius: 5px; }
.lastgames_header{clear:both;background:url(images/lastgames_header_bg.png) no-repeat;width:346px;height:34px;margin:-2px auto 0 auto;padding-top:15px;font:bold 12px Arial;color:#000;text-align:center}
.lastgames_content{clear:both}
.lastgames_box{float:left;width:70px;height:75px;margin-left:14px}
.lastgames_box img{width:68px;height:58px;border:1px solid #000}
.lastgames_title{clear:both;text-align:center;padding-top:3px;font:10px arial;color:#4a4a4a}
.lastgames_title a{color:#4a4a4a}[/css]
Ето вместо двете неща да са ми на 1 ред ми ги пренася на 2 редa ...
HTML:
<div class="lastgames_topplayers_part">
<div class="lastgames_bg">
<div class="lastgames_header">Нови Игри</div>
<div class="lastgames_content">
<div class='lastgames_box'>
<div>
<a href='index.php?a=player&id=$row[id]' class='tooltip' title='$row[description]'><img src='$row[picer]'></a>
</div>
<div class='lastgames_title'>
<a href='index.php?a=play&id=$row[id]'>$row[subject]</a>
</div></div>
</div>
</div>
Ето го и css-то
[css].lastgames_bg{float:left;background:url(images/lastgames_bg.png) repeat-x;height:159px;width:355px;
-moz-border-radius: 5px; -webkit-border-radius: 5px; }
.lastgames_header{clear:both;background:url(images/lastgames_header_bg.png) no-repeat;width:346px;height:34px;margin:-2px auto 0 auto;padding-top:15px;font:bold 12px Arial;color:#000;text-align:center}
.lastgames_content{clear:both}
.lastgames_box{float:left;width:70px;height:75px;margin-left:14px}
.lastgames_box img{width:68px;height:58px;border:1px solid #000}
.lastgames_title{clear:both;text-align:center;padding-top:3px;font:10px arial;color:#4a4a4a}
.lastgames_title a{color:#4a4a4a}[/css]
Ето вместо двете неща да са ми на 1 ред ми ги пренася на 2 редa ...