Previous Message
Next Message

Re: [css-d] identifying links to pdf files in

Sent by Steve Clay on 22 May 2003 17:05


Thursday, May 22, 2003, 8:19:18 AM, Nik Schramm wrote:
NS> Opening pdf files in the browser often kills or maims Mozilla

Try a more recent build and/or plug-in.  I don't have much trouble at
least, but I understand the annoyance of PDF display in-browser.

NS> to modify my userContent.css file to display links, whose href attribute
NS> contains the string ".pdf", in an easily recognisable way.

Mozilla would need to support CSS3 candidate selectors:

a[href^=".pdf"]:after,
a[onclick*=".pdf"]:after { /* might check for uppercase PDF, too */
    content:"(PDF)";
    color:red;
    background:white;
}

Steve
-- 
http://mrclay.org/

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: