Bonjour,
J'ai essayé vos solution mais ça ne marche pas, voici ce que ça me donne : http://c.imagehost.org/0509/Presse-papiers-1.jpg
Le code XHTML :
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
| <div id="slide-wrapper">
<!-- Contenu : By Destination -->
<h3>By Destination</h3>
<div class="block">
<div class="image">
<img src="images/webdesign/slider-home-2/contour-photo.png" alt="" class="contour-photo" width="220" height="106" />
<img src="images/photos-slider-home-2/africa.jpg" alt="" class="photo" width="212" height="98" />
</div>
<h4>Africa Holidays</h4>
<p>Few wildlife enthusiasts can resist Africa. Its exceptional abundance <br />and variety of wild animals make it
<br />one of the worlds top wildlife holiday destinations.</p>
</div>
<div class="block">
<div class="image">
<img src="images/webdesign/slider-home-2/contour-photo.png" alt="" class="contour-photo" width="220" height="106" />
<img src="images/photos-slider-home-2/africa.jpg" alt="" class="photo" width="212" height="98" />
</div>
<h4>Africa Holidays</h4>
<p>Few wildlife enthusiasts can resist Africa. Its exceptional abundance and variety of wild animals make it
one of the worlds top wildlife holiday destinations.</p>
</div>
<div class="block">
<div class="image">
<img src="images/webdesign/slider-home-2/contour-photo.png" alt="" class="contour-photo" width="220" height="106" />
<img src="images/photos-slider-home-2/africa.jpg" alt="" class="photo" width="212" height="98" />
</div>
<h4>Africa Holidays</h4>
<p>Few wildlife enthusiasts can resist Africa. Its exceptional abundance and variety of wild animals make it
one of the worlds top wildlife holiday destinations.</p>
</div>
<div class="block">
<div class="image">
<img src="images/webdesign/slider-home-2/contour-photo.png" alt="" class="contour-photo" width="220" height="106" />
<img src="images/photos-slider-home-2/africa.jpg" alt="" class="photo" width="212" height="98" />
</div>
<h4>Africa Holidays</h4>
<p>Few wildlife enthusiasts can resist Africa. Its exceptional abundance and variety of wild animals make it
one of the worlds top wildlife holiday destinations.</p>
</div>
<div class="block">
<div class="image">
<img src="images/webdesign/slider-home-2/contour-photo.png" alt="" class="contour-photo" width="220" height="106" />
<img src="images/photos-slider-home-2/africa.jpg" alt="" class="photo" width="212" height="98" />
</div>
<h4>Africa Holidays</h4>
<p>Few wildlife enthusiasts can resist Africa. Its exceptional abundance and variety of wild animals make it
one of the worlds top wildlife holiday destinations.</p>
</div>
<div class="block">
<div class="image">
<img src="images/webdesign/slider-home-2/contour-photo.png" alt="" class="contour-photo" width="220" height="106" />
<img src="images/photos-slider-home-2/africa.jpg" alt="" class="photo" width="212" height="98" />
</div>
<h4>Africa Holidays</h4>
<p>Few wildlife enthusiasts can resist Africa. Its exceptional abundance and variety of wild animals make it
one of the worlds top wildlife holiday destinations.</p>
</div>
</div> <!-- /slide-wrapper --> |
JS :
$("#slide-wrapper div:nth-child(3n)").css('color', 'red');
Merci
Partager