Thierry Koblentz wrote:

Drake, Ted C.  wrote:

Hi All

I have a quick question. I don't seem to be running on all cylinders
and I can't remember how to write the css that would look for a link
that has .pdf in the href.
A [href???.pdf]...


If you use type="application/pdf" in your anchor, I think you can go with:
A[type="application/pdf"]

Thierry | www.TJKDesign.com

Which is considered much better then looking for file prefix as it don“t have to be 'pdf'. As I say in the thread 'accessibility - opening new windows philosophy' you could have a CGI/PHP/ASP/WHatever script generate PDFs for you. Then the file prefix solution will crack. Of course, this kind of 'advanced' CSS will only work in modern browsers, but that you already know I guess ;-)

Regards,
/Anders
******************************************************
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************

Reply via email to