Hello,
I'm trying to find a way to display a document file type icon after links to 
such documents.  I am trying this code:

a[href$='pdf']
{
              background: 
url(http://168.156.9.250:8080/imgs/layout/icon_pdf.gif) no-repeat right;
            padding-left:20px;

}

The problem with this is that on a long link that wrap to the next link the 
icon doesn't appear right at the end of the link label, it appears to the right 
(the end of the blocked element).

Does anyone know of a sure fire way to display icons after links with css?

Thank you


Angela French
Internet Specialist
State Board for Community and Technical Colleges
360-704-4316
afre...@sbctc.edu
http://www.checkoutacollege.com<http://www.checkoutacollege.com/>

______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to