I want to give my anchor tags some elbow room. I tried to add both padding and margin, and neither one work (even when I give them a lot, as you can see here):
a {
line-height: 1em;
display: inline-block;
text-decoration: none;
padding: 120;
margin: 42;
}
How can I add some spacing between the anchor elements?
The entire kit and kaboodle are here: http://jsfiddle.net/clayshannon/pRgQL/
I ended up going with this: http://jsfiddle.net/clayshannon/pRgQL/18/
To create extra spaces before, after, or in-between your text, use the (non-breaking space) extended HTML character.
As tags go, spaces are superfluous. Leading spaces are ignored and trailing spaces mean nothing. The best practice is to not use spaces that have no meaning.
To add space between icons:Click inside each cell then from the Properties pane, in Style add padding-right.
Nothing is wrong with placing a div inside a tag. In fact, you can place just about anything inside a tag as long as they are categorized as transparent , except that no descendant may be interactive content (eg: buttons or inputs) or an a element, and no descendant may have a specified tabindex attribute.
<a>1<a/> <a>2<a/>
1 2
non breaking space if you like ..
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