/ Published in: CSS
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
a[href$=".pdf"] { background: url(location_of_pdf_icon.png) no-repeat; padding-left: 10px; } a[href^="http"] { background: url(location_of_external_icon.png) no-repeat; padding-left: 10px; }