I'm trying to place two 300x250 ads beside each other. So two squares side by side. I put in the following code twice but it just shows one on top of the other, not side by side, any help? <!-- BEGIN UAT - 300x250 - WeGotThisCovered: WeGotThisCovered - DO NOT MODIFY --> <script style="float:left;" type="text/javascript" src="http://ad-cdn.technoratimedia.com/00/43/05/uat_173.js?ad_size=300x250"></script> <!-- END TAG -->
There is no such thing as a style attribute for a script element which makes the rest of your code just nonsense.
<div> <div style="float:left">first ad code script comes here</div> <div style="float:right">second ad code script comes here</div> <div style="clear:both"></div> </div> Code (markup): Give widths if required to the two divs containing the ads
Hey, almost worked. I just want to close the space between them in the middle. Is there any way I can kind of pull them together or bring each image closer to the middle? Or even potentially put a third image in the middle?
change the float "right" to "left" you may also give margin or padding to the second ad's div using the following padding-left: 10px or margin-left: 10px This creates a small space between the two ads....
<div> <div style="float:left">first ad code script comes here</div> <div style="float:left; margin-left:10px;">second ad code script comes here</div> <div style="clear:both"></div> </div> if margin-left did not work.. try padding-left, change the 10px as required, depending on how much space you want... Padding : Space between element to which it is applied and the inner elements Margin : Space between element to which it is applied and element around it