Salve, io ho questo CSS qua:
codice:
.casellatesto {width: 200px;border-width: 1px; border-color: black; border-style: ridge; background-color: #DCDCDC ;}
.casellatestogestione {width: 100px;border-width: 1px; border-color: black; border-style: ridge; background-color: #DCDCDC ;}
.areatestogestione {width: 200px;border-width: 1px; border-color: black; border-style: ridge; background-color: #DCDCDC ;}
.bottone {border-width: 1px; border-color: black; border-style: ridge;background-color: #A8A8A8 ;}
.sfondo {background-color: white;}
Provo a validarlo sul w3c, ma mi restituisce questi avvisi:
codice:
Warnings
URI : file://localhost/TextArea
* Line : 1 (Level : 1) You have no color with your background-color : .casellatesto
* Line : 2 (Level : 1) You have no color with your background-color : .casellatestogestione
* Line : 3 (Level : 1) You have no color with your background-color : .areatestogestione
* Line : 4 (Level : 1) You have no color with your background-color : .bottone
* Line : 5 (Level : 1) You have no color with your background-color : .sfondo