CSS multiple inheritance

R

Rob Shepherd

I have the following html to make some invisible links on a page and associated CSS drawn
from external ref.

They are invisible but when they become "visited" they take the global a.visited
attributes and appear like a normal visited link.

How can I add visited behaviour to the invisible class?


HTML

<a class="invisible" href="http://www.google.com">google</a>
<a class="invisible" href="http://www.yahoo.co.uk">uk yahoo</a>

/HTML

CSS
a:visited{ color: blue; }

..invisible {
text-align: right;
color: #fff;
background-color: #fff;
}

\CSS


kindest regards

Rob Shepherd
 
E

Els

Rob said:
I have the following html to make some invisible links on a
page and associated CSS drawn from external ref.

They are invisible but when they become "visited" they take
the global a.visited attributes and appear like a normal
visited link.

How can I add visited behaviour to the invisible class?

..invisible, a.invisible:visited {
text-align: right;
color: #fff;
background-color: #fff;
}
 
R

Rob Shepherd

Els said:
Rob Shepherd wrote:




.invisible, a.invisible:visited {
text-align: right;
color: #fff;
background-color: #fff;
}

Hey thanks Els, perfect!

Rob
 
D

derek giroulle

Els said:
Rob Shepherd wrote:
.invisible, a.invisible:visited {
text-align: right;
color: #fff;
background-color: #fff;
}

Have you also considered making them as small as possible with font size
like -7 or like hiding them behind a . , ; or a : where the inderscore
is so small it's mostly invisble or using a _ in a word and making your
link there people don't notice the blue _ in the black text?
blending the 2 methods together get some very good results in hiding
links form the public

derek
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,430
Messages
2,571,676
Members
48,796
Latest member
Greg L.

Latest Threads

Top