Je construis un site en utilisant Joomla et un plugin paticular Joom Gallery. Joom Gallery a un plugin qui affiche des images défilantes. Tout fonctionne bien, sauf une faute mineure qui, je crois, est quelque chose à voir avec IE8.Problème de centrage dans IE8 en utilisant DIVs
Dans FF, les images sont centrées, mais dans IE8, elles sont alignées vers la gauche.
Je belive le code incriminé est la suivante: (Ceci est généré par le plug-in)
> <style type="text/css">
> <!-- .joomimg60_imgct { width:100% !important; float:left; }
> .joomimg60_img { display:block;
> text-align:center!important;
> vertical-align:top!important; }
> .joomimg60_txt {
> clear:both;text-align:center!important;
> vertical-align:top!important; }
>
> --> </style>
>
>
> <div class="joomimg60_main">
> <marquee behavior="scroll"
> direction="down" loop="infinite"
> height="250" width="200"
> scrollamount="1" scrolldelay="10"
> onmouseover="this.stop()"
> onmouseout="this.start()"
> class="joomimg60_scroll"> <div
> class="sectiontableentry1
> joomimg60_row">
>
> <div class="joomimg60_imgct">
> <div class="joomimg60_img"> <a href="/index.php?option=com_joomgallery&func=detail&id=2&Itemid=30&lang=en"
> > <img src="http://clubquad.fr/components/com_joomgallery/img_thumbnails/quad_racing_3/quad_racing_20091226_1696329240.jpg"alt="Quad
> Racing"title="Quad Racing" />
> </a></div> <div class="joomimg60_txt">
> <a href="javascript:alert('Guests are
> not allowed to view picture details.
> Please login.')"
> class="joomimg60_name"> Quad Racing
> </a><br /> </div>
> </div> </div> <div class="joomimg_clr"></div> <div
> class="sectiontableentry2
> joomimg_row">
> <div class="joomimg60_imgct">
> <div class="joomimg60_img"> <a href="/index.php?option=com_joomgallery&func=detail&id=6&Itemid=30&lang=en"
> > <img src="http://clubquad.fr/components/com_joomgallery/img_thumbnails/member_gallery_5/member_gallery_20091226_1973325895.jpg"alt="Member
> Gallery"title="Member Gallery" />
> </a></div> <div class="joomimg60_txt">
> <a href="javascript:alert('Guests are
> not allowed to view picture details.
> Please login.')"
> class="joomimg60_name"> Member Gallery
> </a><br /> </div>
> </div> </div> <div class="joomimg_clr"></div> <div
> class="sectiontableentry1
> joomimg_row">
> <div class="joomimg60_imgct">
> <div class="joomimg60_img"> <a href="/index.php?option=com_joomgallery&func=detail&id=1&Itemid=30&lang=en"
> > <img src="http://clubquad.fr/components/com_joomgallery/img_thumbnails/off_road_2/can-am_outlander_800_20091226_1680437934.jpg"alt="Can-am
> Outlander 800"title="Can-am Outlander
> 800" /> </a></div> <div
> class="joomimg60_txt"> <a
> href="javascript:alert('Guests are not
> allowed to view picture details.
> Please login.')"
> class="joomimg60_name"> Can-am
> Outlander 800 </a><br /> </div>
> </div> </div>
appartient à doctype – erenon