The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

> Being selective with Hyperlink Cues
post Apr 9 2012, 12:56 PM
Post #1



I have code in my CSS file that looks like this:


a[href$='.pdf'] {
    background:transparent url(../img/icons/page_white_acrobat.png) center left no-repeat;
    line-height:15px; }

It works great. My problem is that I need to have some links not show the image cue. I'm actually a desktop developer, so it's all pretty new to me. Does anyone know how I can use this with *some* PDF links, but not others?

This post has been edited by bek1: Apr 9 2012, 01:16 PM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Reply to this topicStart new topic
post Apr 11 2012, 12:06 PM
Post #2

Programming Fanatic

Group: Members
Posts: 4,687
Joined: 23-August 06
From: Europe
Member No.: 9

The problem is that so far we only have seen code snippets, not the (url of the) entire page, which we usually prefer. Even a temporary test page, with all relevant HTML code and CSS, would help us help you.

"The earth does not belong to us. We belong to the earth."
from Vue du ciel (in French)

"Leave scepticism to others and take action"
from HOME by Goodplanet

An inconvenient truth by Al Gore
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Posts in this topic

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


- Lo-Fi Version Time is now: 28th February 2015 - 10:56 AM