+ 1
How to modify the height of the space between the text and the underline bar in CSS?
Hi everybody. I have in my code CSS : h4{ text-decoration: underline; } how to increase or reduce the space between the text and the underline bar? Thank you for your answers!
3 Respostas
+ 4
Yeah. Sometimes with html you need to use your imagination
+ 3
By using border
h4{
border-bottom: 1px solid black;
display: inline-block;
padding-bottom: 5px;
}
0
hum... you think I have to take a border instead of the text-decoration... it's a good hack!
thank you!