Bon alors, j'ai testé...
Le code suivant marche :
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
<html>
<head>
</head>
<style type="text/css">
div{
color:navy !important;
font-size:20pt !important;
}
</style>
<body>
<div>
<div style="color:red;font-size:10pt;font-weight:Bold;">
TEXTE
</div>
</div>
</body>
</html> |
Mais si on met !important dans
<div style="color=navy; !important font-size=20pt;">
ça ne marche pas...
C'est pratique mais ça ne va pas pouvoir me servir dans mon cas. J'aurai au moins appris quelque chose !
Merci
Partager