html - I am having problems with CSS getting ads to line up -


i building website , have 3 ads towards bottom of page. appear on there own line. have tried creating floating div removing divs. can't seem figure out part of css isn't allowing these boxes straight across page.

here code 3 boxes:

<div class="wrapper margin-bot1">     <div class="bg-3">         <div class="indent">             <div class="wrapper margin-bot">                 <img src="http://www.webstertoolbox.com/media/wysiwyg/images/page1_img1.png" alt="" />                 <img src="http://www.webstertoolbox.com/media/wysiwyg/images/logo_archilume.png" alt="" width="150" height="41" />             </div>             <ul class="ul-1">                 <li><a href="morearchi.html">made in usa </a></li>                 <li><a href="morearchi.html">expert domestic tech support</a></li>                 <li><a href="morearchi.html">high-end installations</a></li>                 <li>robust features</li>             </ul>             <a class="button-1 margin-left" href="more.html">click order now!</a>         </div>     </div>     <div class="bg-3">         <div class="indent">             <div class="wrapper margin-bot">                 <img  src="http://www.webstertoolbox.com/media/wysiwyg/images/page1_img1.png" alt="" />                 <a href="moregen.html"> <img src="http://www.webstertoolbox.com/media/wysiwyg/images/genlume-logo.png" alt="" width="103" height="41" /></a>                 <div class="extra-wrap">&nbsp;</div>             </div>             <ul class="ul-1">                 <li><a class="test123" href="moregen.html">quick solutions</a></li>                 <li><a href="moregen.html">turn-key applications</a></li>                 <li><a href="moregen.html">certified</a></li>                 <li><a href="moregen.html">competitive pricing</a></li>             </ul>             <a class="button-1 margin-left" href="moregen.html">click order now!</a>         </div>     </div>     <div class="bg-3">         <div class="indent">             <div class="wrapper margin-bot">                 <img src="http://www.webstertoolbox.com/media/wysiwyg/images/page1_img1.png" alt="" />                 <div class="extra-wrap">                     <h4>duralume</h4>                     <h5>series</h5>                 </div>             </div>             <ul class="ul-1">                 <li><a href="more.html">expert domestic tech support</a></li>                 <li><a href="more.html">made in usa </a></li>                 <li><a href="more.html">custom solutions</a></li>                 <li><a href="more.html">on-site engineers</a></li>             </ul>             <a class="button-1 margin-left" href="more.html">click order now!</a>         </div>     </div> </div> 

i can't figure out how show css can find actual site here: http://www.webstertoolbox.com/

if below big banner see archilume, genlume , duralume boxes run vertically down page. want them appear across page.

can please tell me did wrong , how fix it?

thanks, frank g.

very easy , fast fix it. change css file named homeads.css on line 128:

.bg-3  {     background: url(../images/bg-4.png) left top no-repeat;     width: 33%;  // changed 100% 33%     height: 322px; //changed 268px 322px     overflow: hidden;     float: left;  // added float left } 

cheers, thanos

edit: after doing change above need add couple more changes fix couple of things bit misaligned. such right border not visible anymore. below changes need fix well.

on homeads.css line 33:

.main  {     width: 950px; // reduced match parent's width     padding: 0;     margin: 0 auto;     position: relative; } 

on sceleton.css line 25:

.grid_1, .grid_2, .grid_3, .grid_4, .grid_5, .grid_6, .grid_7, .grid_8, .grid_9, .grid_10, .grid_11, .grid_12, .grid_13, .grid_14, .grid_15, .grid_16, .grid_17, .grid_18, .grid_19, .grid_20, .grid_21, .grid_22, .grid_23, .grid_24  {     float: left;     display: inline;     //margin-left: 5px;    remove these 2     //margin-right: 5px;   remove these 2 } 

edit2: first box getting pushed down little bit. caused because on first box missing div <-> on second , third box have div inside them.

<div class="wrapper margin-bot">     <img src="http://www.webstertoolbox.com/media/wysiwyg/images/page1_img1.png" alt=""><a href="moregen.html"> <img src="http://www.webstertoolbox.com/media/wysiwyg/images/duralume.gif" alt="" width="103" height="41"></a>     <div class="extra-wrap">&nbsp;</div> // div </div> 

you have 2 choices here:

1) add div

<div class="extra-wrap">&nbsp;</div> 

to first box

2) remove div box 2 , 3.


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

c++ - End of file on pipe magic during open -