bonjour,
Voila j'ai un titre h2 dans lequel il y a une image alignée à gauche, seulement mon image est plus haute que mon texte, et donc mon texte s'affiche aligné vers le haut et je voudrais qu'il soit centré verticalement, est ce que c'est possible ?
h2{
color:#00549D;
font-size:20px;
text-transform:uppercase;
text-indent:50px;
height:40px;
border-bottom-style:solid;
border-bottom-width:1px;
background-repeat:no-repeat;
background-position:left bottom;
border-bottom-color:#BCCE00;
background-image: url(img/ico_titreCandidat.gif);
padding:0 0 0 10px;
margin:10px 0 5px 10px;
}
Partager