| bek1 |
Apr 9 2012, 12:56 PM
Post
#1
|
|
Unregistered |
Hello.
I have code in my CSS file that looks like this: CODE a[href$='.pdf'] { background:transparent url(../img/icons/page_white_acrobat.png) center left no-repeat; display:inline-block; padding-left:20px; 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 |
|
|
|
![]() ![]() |
| Darin McGrew |
Apr 9 2012, 03:42 PM
Post
#2
|
|
WDG Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Root Admin Posts: 7,852 Joined: 4-August 06 From: Mountain View, CA Member No.: 3 |
Please see the FAQ entry Where can I learn about CSS?
-------------------- Darin McGrew
WDG Member since 1998 |
| bek1 |
Apr 9 2012, 04:30 PM
Post
#3
|
|
Unregistered |
Thanks, Darin. There is certainly a LOT to learn about CSS. Unfortunately for me as a desktop developer, time is a limiting factor. I have to jump in, learn enough in my free time to get by and get the job done, then get back to what pays the bills. However, Pandy was incredibly helpful above and I very much appreciate it. |
|
|
|
bek1 Being selective with Hyperlink Cues Apr 9 2012, 12:56 PM
pandy Then you need a more specific selector. You could ... Apr 9 2012, 03:11 PM
bek1 Pandy,
Thank you so much for responding.
They a... Apr 9 2012, 03:28 PM
pandy Just add the class to the other attributes.
... Apr 9 2012, 03:38 PM
bek1 Haha. Pandy, you rule. I renamed "foo... Apr 9 2012, 04:27 PM
pandy In your second example there is no link text for t... Apr 9 2012, 04:38 PM
bek1
In your second example there is no link text for ... Apr 10 2012, 08:40 AM
pandy See the links at the top and bottom of the pages h... Apr 10 2012, 09:12 AM
bek1 Hi, Pandy.
I hate to bother you again--I know you... Apr 10 2012, 11:30 AM
bek1 Hi, guys.
I feel like I have wore out my welcome ... Apr 11 2012, 11:32 AM
Frederiek The problem is that so far we only have seen code ... Apr 11 2012, 12:06 PM![]() ![]() |
|
Lo-Fi Version | Time is now: 22nd May 2013 - 12:13 PM |