Bonjour,
Voici mon petit code pour mes fieldset :
Pour plus de clarté je vous formate le css :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5 <fieldset style="padding:1.4em;margin: 0 0 1.5em 0;border: 1px solid #ccc;background: url('fieldset_bg.png') bottom repeat-x;"> <legend style="font-weight: bold;color: #444;font-size: 1.1em;margin-bottom: 1.4em\9;">TEST</legend> CONTENT </fieldset>
Sous Chrome j'ai implacablement ce que je souhaitai mais pas sous IE ^^
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15 fieldset { padding:1.4em; margin: 0 0 1.5em 0; border: 1px solid #ccc; background: url('fieldset_bg.png') bottom repeat-x; } legend { font-weight: bold; color: #444; font-size: 1.1em; margin-bottom: 1.4em\9; }
Chrome :
IE :
Je suis pas encore au point avec le CSS, la rétro-compatibilité, et encore moins IE ^^
D'avance merci.
Partager