I have created a cycle image style using CSS. The thing is when i put the images on anchor <a> the style is lost...
This is the css code
.poster {
width:25%;
height:25%;
position:absolute;
margin-left:20px;
z-index:0;
}
.poster a img {
-moz-border-radius: 50%;
-webkit-border-radius: 50%;
border-radius: 50%;
height:55px; width:55px
}
.poster a img:nth-child(1) {
position:relative;
bottom: -57%; left: 33%;
}
.poster a img:nth-child(2) {
position:relative;
bottom: -15%; right:-6%;
}
.poster a img:nth-child(3) {
position:relative;
bottom: 18%; left: 10%;
}
.poster a img:nth-child(4) {
position:relative;
top: 10%; right: -17%;
}
.poster a img:nth-child(5) {
position:relative;
top: 55%; right: 7%;
}
.poster a img:nth-child(6) {
position:relative;
top: -20%; right: -40%;
height:100px;
width:100px
}
and this is the HTML. if you remove the anchor tags it works fine
<div class="poster">
<a><img src='http://s2.blomedia.pl/gadzetomania.pl/images/2012/08/ceny-logo-2-304166.jpg' alt='' /></a>
<a><img src='http://s2.blomedia.pl/gadzetomania.pl/images/2012/08/ceny-logo-2-304166.jpg' alt='' /></a>
<a><img src='http://s2.blomedia.pl/gadzetomania.pl/images/2012/08/ceny-logo-2-304166.jpg' alt='' /></a>
<a><img src='http://s2.blomedia.pl/gadzetomania.pl/images/2012/08/ceny-logo-2-304166.jpg' alt='' /></a>
<a><img src='http://s2.blomedia.pl/gadzetomania.pl/images/2012/08/ceny-logo-2-304166.jpg' alt='' /></a>
<a><img src='http://s2.blomedia.pl/gadzetomania.pl/images/2012/08/ceny-logo-2-304166.jpg' alt='' /></a>
</div>