IE6 impression h2 background image
Bonjour,
Je n'arrive pas à faire apparaitre mon image de fond sous IE6 pour mon h2.
Voici mon code :
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
|
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr-FR" lang="fr-FR">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<style media="print">
h1 {
color: #014F61;
margin: 0;
padding: 0 0 0.5em 0;
font-size: 16pt;
text-align: center;
font-weight: normal;
}
h2 {
font-size: 16pt;
background-color: yellow;
padding: 0 0 0 17px;
margin: 0;
background-image: url("./images/goutte.gif");
background-position: left;
background-repeat: no-repeat;
}
</style>
</head>
<body>
<h1>titre 1</h1>
<h2>titre 2 avec une image à gauche normalement</h2>
</body>
</html> |
Les images de fond sont bien activées. Si j'enlève "background-position: center;" et "background-repeat: no-repeat;" de la feuille de style, je vois bien l'image de fond se répéter pourtant.
Moi je ne la veux qu'une seule fois à gauche du titre.
Auriez vous une solution ?
merci