Return to Snippet

Revision: 5373
at March 4, 2008 19:23 by neal_grosskopf


Initial Code
a[href^="http"] {
padding-right: 15px;
background: url(external-image.png) no-repeat center right;
}

a[href^="mailto:"] {
padding-right: 15px;
background: url(email.png) no-repeat center right;
}

a[href$=".pdf"] {
padding-right: 15px;
background: url(pdf.png) no-repeat center right;
}

Initial URL
http://www.nealgrosskopf.com/tech/thread.asp?pid=4

Initial Description
Style External, PDF, and Mailto links using CSS and a background image.  For a great set of icons to choose from visit http://www.famfamfam.com/lab/icons/silk/.

Initial Title
Style External, PDF, and Mailto links with CSS

Initial Tags
css, CSS3

Initial Language
CSS