Is there any way in html and css to stop links having an underline where there is a space? Say I want a small icon with a space and then text to all be a link but have no link between them, is it possible?
I don't want to have to have the icon jammed right next to the text :(
In HTML, text-decoration none (text-decoration:none;) removes all the Text element stylings like Underlines. So if you want to remove Underlines from Links you can use this text-decoration:none; CSS property to get rid of that underline from the texts/links.
Add a margin to your image - DEMO
img {
margin-right: 15px
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With