Comment changer le line-height d'un span ?
Bonjour à tous,
Je cherche à réduire le line-height d'un span, mais je n'y arrive pas... alors que je ne rencontre aucun prob pour le font-size et la couleur :weird:
Mes CSS :
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
| header {
margin-top: 10px;
margin-left: 0px;
margin-right: 0px;
}
header h1 {
margin-bottom: 0;
margin-top: 50px;
letter-spacing: -1px;
line-height: 0.8em;
font-weight: normal;
font-variant: normal;
font-style: normal;
font-size: 5em;
font-family: luckiestguy;
color: #FFFFFF;
text-align: center;
word-spacing: -0.1em;
}
header h1 span {
font-size: 0.6em;
line-height: 0.1 !important;
color: #D3C1A5;
} |
Comment puis-je procéder ?
Merci pour votre aide,
dh
cela te sert à quoi autant le mettre en display:none
Bonsoir NoSmoking,
Pourquoi un "display: none" sur le span ?
Pour ce qui est du line-height:
Code:
1 2 3 4 5
| header h1 span {
font-size: 0.6em;
line-height: 0.1 !important;
color: #D3C1A5;
} |
L'interlignage ne bouge pas :weird:
As-tu une idée ?
Merci et bonne soirée,
dh