Bonsoir,
j'ai fait un bout de code qui fonctionne trés bien sous IE, par contre sur mozilla c'est la cata...
voici le contenu CSS
et la partie html
Est ce que j'ai fait quelques choses qui ne va pas ?
En gros ce que je cherche a faire, c'est un tableau comme ceci
si il y a plus de 3 images, elle pas a la ligne est sont automatiquement centrer. Sous IE tout fonctionne...Sous Mozilla..ca ressemble a rien
Encore merci
++
fab
Modifié par fab27 (09 Mar 2005 - 21:08)
j'ai fait un bout de code qui fonctionne trés bien sous IE, par contre sur mozilla c'est la cata...
voici le contenu CSS
<style>
ul {
margin: 0px 0px 0px 0px;
}
p {
padding: 0;
margin: 0;
}
p.center {
text-align:center;
}
div {
margin: 0px 0px 0px 0px;
padding: 0px;
}
a {
text-decoration: none;
color: #000066;
}
#featured {
width:572px;
text-align:center;
}
#featuredheading {
background:url(images/infobox/coup_de_coeur.gif) no-repeat;
height:29px;
}
#featuredbottom {
background:url(images/infobox/news_bas2.gif) no-repeat;
height:9px;
}
#featuredid {
background:url(images/infobox/nesw_centre2.gif) repeat-y;
padding: 0px 5px 5px 5px;
text-align:center;
position:inherit;
}
div#featuredcontenu{
display:inline;
width:150px;
border-style:dotted;
border-width:thin;
border-color:#FFCCFF;
padding: 8px 5px 8px 5px;
margin: 5px 10px 5px 10px;
background-color:#F5D9DA;
}
</style>
et la partie html
<div id="featured">
<div id="featuredheading"></div>
<div id="featuredid">
<div id="featuredcontenu">
<a href="#"><img src="images/" border="0" alt="#" title="#" width="95" height="110"></a>
<p>toto hgfh fgh gfhfgh fghgfh fghgfh fghghfg</p>
<p>Price</p>
<p>Cout</p>
</div>
<div id="featuredcontenu">
<a href="#"><img src="images/" border="0" alt="#" title="#" width="95" height="110"></a>
<p>toto hgfh fgh gfhfgh fghgfh fghgfh fgh fghfg</p>
<p>Price</p>
<p>Cout</p>
</div>
<div id="featuredcontenu">
<a href="#"><img src="images/" border="0" alt="#" title="#" width="95" height="110"></a>
<p>toto hgfh fgh gfhfgh fghgfh fghgfh fgh fghfg</p>
<p>Price</p>
<p>Cout</p>
</div>
<div id="featuredcontenu">
<a href="#"><img src="images/" border="0" alt="#" title="#" width="95" height="110"></a>
<p>toto hgfh fgh gfhfgh fghgfh fghgfh fgh fghfg</p>
<p>Price</p>
<p>Cout</p>
</div>
</div>
<div id="featuredbottom"></div>
</div>
Est ce que j'ai fait quelques choses qui ne va pas ?
En gros ce que je cherche a faire, c'est un tableau comme ceci
##########################
# [IMAGE1] [IMAGE2] [IMAGE3] #
# [IMAGE4] #
##########################
si il y a plus de 3 images, elle pas a la ligne est sont automatiquement centrer. Sous IE tout fonctionne...Sous Mozilla..ca ressemble a rien

Encore merci
++
fab
Modifié par fab27 (09 Mar 2005 - 21:08)