When hovering a link I want it to get an underline. The underline should be 2px strong and 4px below the text.
With
text-decoration: underline
You can use line-height for decrease distance.
.underline { display: inline-block; line-height: 0.9; // the distance border-bottom: 1px solid; }
Drawback of this method -- because we use block display it works only for single line of the text.