View Single Post
Old 06-01-2012, 08:10 PM  
VladS
Available for Coding Work
 
VladS's Avatar
 
Industry Role:
Join Date: Jun 2008
Posts: 1,458
Here you go, save the CSS code into your external CSS file though.

Code:
<style type="text/css">
	.clear { clear: both; }

	#wrap-advert {
		width: 960px;
		margin: 20px auto;
	}

	.advert {
		width: 300px;
		float: left;
		text-align: center;
		margin: 0 10px;
	}
</style>

<div class="clear"></div>
<div id="wrap-advert">
	<div class="advert">
		<!-- advert code goes here -->1
	</div>
	<div class="advert">
		<!-- advert code goes here -->2
	</div>
	<div class="advert">
		<!-- advert code goes here -->3
	</div>
	<div class="clear"></div>
</div>
<div class="clear"></div>
__________________
<developer> MechBunny / KVS / PHP / MySQL / HTML5 / CSS3 / jQuery
Email: vlad [at] dangerouscoding.com
Telegram: @dangerouscoding
VladS is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote