Forum Moderators: not2easy
a { background: url("../img/stuff.gif") center right no-repeat; }
but!
it works but the image becomes "stuck" in the link like its whole width is inside the text not pushed to the right of it
how can i add space here i know you know what i mean thnaks
For example I have various background icons in my anchors to signify various types of links (music, download, external, email, etc).
If your icon is 30px in width give yourself about 32px padding.
padding: 0px 32px 0px 0px;
or
padding-right: 32px;
I put the icons on the right side but thats just me.
John