Bonjour, voila j'ai un probleme certe minime mais embetant je voudrai styliser une liste déroulante en css mais je bloque voila mon code php/html et mon css a côté :
echo "
<td>De quel type : </td><td><SELECT name='type' size='1'>
<OPTION class='option'>Bureaux</option>
<OPTION>Terrains
<OPTION>Locaux commerciaux
<OPTION>Locaux industriels
<OPTION>Entrepôts
</SELECT>
</div>
</td>";
body
{
width: 100%;
height: 300px;
margin: 0px;
margin-top: 0px;
margin-bottom: 20px;
background-color : #ffffff;
background-image : url("")left center no-repeat;
}
.option {
text-align:center;
font-weight:bold;
background-color:#ED7F10;
}
et impossible de faire marcher sa j'ai essayé de placé partout mes div mes classes impossible alors que si je test cet classe ailleurs elle fonctionne très bien merci de votre réponse
Configuration: Windows XP
Firefox 3.0.11