[(1)(2)]
gdzie:
[] = width 960px
(1) i (2) = width 540px każdy
kod
jak zrobić aby (1) i (2) nachodziły na siebie i (1) był nadrzędny dla (2)?
#logo{padding:0; margin:0;position:absolute;} #logo ul{overflow:hidden;list-style:none;} #logo li{float:left;width:540px;} #logo .im{right:-120px;z-index:-1;}
<div id="head2"> <div class="container"> <div class="main"> <div id="logo"> <ul> <li> </li> <li id="shuffle"> <img src="templates/img/top/4.jpg" class="th" alt="" border="0" /><img src="templates/img/top/12.jpg" class="th" alt="" border="0" /><img src="templates/img/top/3.jpg" class="th" alt="" border="0" /><img src="templates/img/top/11.jpg" class="th" alt="" border="0" /><img src="templates/img/top/5.jpg" class="th" alt="" border="0" /><img src="templates/img/top/1.jpg" class="th" alt="" border="0" /><img src="templates/img/top/6.jpg" class="th" alt="" border="0" /><img src="templates/img/top/2.jpg" class="th" alt="" border="0" /><img src="templates/img/top/7.jpg" class="th" alt="" border="0" /><img src="templates/img/top/9.jpg" class="th" alt="" border="0" /><img src="templates/img/top/10.jpg" class="th" alt="" border="0" /><img src="templates/img/top/8.jpg" class="th" alt="" border="0" /> </li> </ul> </div> </div> </div> </div>
#logo{padding:0;margin:0;position:absolute;z-index:1;} #logo #title{float:left;padding:0px 0px 0px;} #logo #title a{color:orange;font:bold 5.5em Verdana;text-transform:uppercase;text-decoration:none;} #logo #title a span{color:orange;} #logo #title a strong{color:#836b4c;} #logo #slogan{position:absolute;margin-left:93px;margin-top:64px;background:inherit;color:#544d3d;font:italic 15px Verdana;} #logo ul{overflow:hidden;list-style:none;} #logo li{float:left;width:540px;} #logo li#shuffle{position:absolute;margin-left:420px;z-index:-1;}