Regrouper règles (css)

Résolu
JypX Messages postés 68 Statut Membre -  
JypX Messages postés 68 Statut Membre -
Bonjour,

Peut on regrouper des valeurs identiques de plusieurs règles?
#I12 {
height:40px;
width:158;
text-align:center;
padding: 10px 0px 10px 0px;
font-size: 35px;
border-right: solid #000000;
float:left;
}
#I3 {
height:40px;
width:111px;
text-align:center;
padding: 10px 0px 10px 0px;
font-size: 35px;
border-right: solid #000000;
float:left;
}
#I45 {
height:40px;
width:65px;
text-align:center;
padding: 10px 0px 10px 0px;
font-size: 35px;
border-right: solid #000000;
float:left;
}
Configuration: Linux
Firefox 3.5.7

2 réponses

  1. RAD ZONE Messages postés 5362 Statut Contributeur 1 360
     
    oui bien sur , pour ton exemple ca donnerais

    #I12 ,#I3 ,#I45 {
    height:40px;
    text-align:center;
    padding: 10px 0px 10px 0px;
    font-size: 35px;
    border-right: solid #000000;
    float:left;
    }
    
    #I12 {
    width:158;
    }
    
    #I3 {
    width:111px;
    }
    
    #I45 {
    width:65px;
    }
    
    
    1
  2. JypX Messages postés 68 Statut Membre 7
     
    Merci
    0