The content: in CSS2.1 should be used only in conjunstion with pseudoclasses :after or :before ... You'd better use something like

a[href$="pdf"] {
   padding-right: 20px; /* respectively the width of the img */
   background: url('icn_pdf.png') no-repeat top right;
}

etc.

It works only in Gecko AFAIK.

--
Jan Brasna aka JohnyB :: www.alphanumeric.cz | www.janbrasna.com
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to