Tests de conformité CSS 2

Modèle de formatage, test 6.17

© Éditions Eyrolles 1998

test précédent max-width test suivant

 

 

Ce test vérifie l'implémentation de max-width.

.t1 {  background-color: silver ; max-width : 2cm }
DIV {  background-color: red ; padding : 0.5cm}

Ce paragraphe doit avoir une largeur maximale de 2cm.

Si cette condition est vraie, la valeur de ce test est 2 et 0 sinon.


test précédent max-width test suivant

 

 

 

Auteur : Daniel Glazman.