HTML

<div id="advert">
<div class="ads">

<a href="#" class="image">Advertise here<img src="Image_Url" /></a>
<a href="#" class="image">Advertise here<img src="Image_Url" /></a>
<a href="#" class="image">Advertise here<img src="Image_Url" /></a>
<a href="#" class="image">Advertise here<img src="Image_Url" /></a>
</div>
<div id="credits">
<p>Widget by <a href="http://mwcrew10.blogspot.com">MWcrew</a></p>
</div>
</div>

CSS

<style>
/*----MWcrew ads box start----*/
.ads {
display: block;
width: 280px;
}
.ads a {
width: 125px;
}
.ads a img {
padding: 0;
}
.ads a em {
font-style: normal;
}
.ads a {
color: #888888;
display: block;
float: left;
font-family: verdana,sans-serif;
font-size: 11px;
margin: 0 7px 7px 0;
overflow: hidden;
text-align: center;
text-decoration: none;
}
.ads img {
border: 0 none;
clear: right;
}
.ads a.image {
background: none repeat scroll 0 0 #E7E7E7;
border: 1px solid #CCCCCC;
color: #666666;
font-size: 12px;
font-weight: bold;
text-align: center;
}
.ads a.image:hover {
background: none repeat scroll 0 0 #DDDDDD;
border: 1px solid #999999;
color: #333333;
}
.ads a {
line-height: 100%;
}
.ads a.image {
height: 125px;
line-height: 1000%;
width: 125px;
}
html > body .ads a.image {
height: 123px;
width: 123px;
}
#credits {
float: right;
font-size: 10px;
margin-right: 35px;
margin-top: -10px;
}
/*----MWcrew ads box end----*/
</style>

JavaScript

/*---none of java Script---*/

Result

See the tutorial

Copyright © {MW} Project Labs from Muhammad Wafi
Demo Site from { MWcrew } personal.site