Attach icons to anything with CSS
Posted by Simon on November 11th, 2007 in CSS
AsktheCSSguy.com and Hunlock.com shows you how to add small icons next to your links that will show where that link will take you. Everything is managed by your CSS file and it’s pretty nifty!
a[href $='.pdf'] {
padding-right: 18px;
background: transparent url(icon_pdf.gif) no-repeat center right;
}
Get paid to review this post: Earn $7.50 by making a review about this post on your own blog. Click here for more information!
