Mejora la calidad de tus Links – CSS
En tu hoja css añade este código
#content a[href $='.pdf'] {
padding-right: 18px;
background: transparent url(http://www.smultron.es/wp-content/uploads/image/icon_pdf.gif) no-repeat center right;
}
Otras expresiones
[foo] — Has an attribute named "foo"
[foo="bar"] — Has an attribute named "foo" with a value of "bar" ("bar")
[foo~="bar"] — Value has the word "bar" in it somewhere ("blue bar stools")
[foo^="bar"] — Value begins with "bar" ("barstool")
[foo$="bar"] — Value ends with "bar" ("I was at the bar")
[foo*="bar"] — Value has bar somewhere ("I was looking for barstools")
Via: http://www.hunlock.com/blogs/Attach_icons_to_anything_with_CSS
No related posts.
About this entry
You’re currently reading “Mejora la calidad de tus Links – CSS,” an entry on Smultron POTENCIA !!
- Published:
- 07.29.09 / 10am
- Category:
- Diseño
No comments
Jump to comment form | comments rss [?] | trackback uri [?]