a:hover

Geffy

OSNN Veteran Addict
Joined
18 Mar 2002
Messages
7,805
is it possible to have two a:hover definitions I also need 2 a:link and a:visited definitions now that I think about it.

I have some sections of my site on a dark background and part of it on white background, so I want white links on the dark bg and black links on white bg.

as I am planning to pull the white backgrounded page into the index page (the one with white link requirements) via php and SSI can I use separate style sheets for each page? Though both sheets will have to be loaded for the different parts of the end result.
 
I have found a work around, by defining the color of the link in the tags eg

<a href="" style="color: #000000">link</a>
 
sure you can:

PHP:
a.darklink:hover {...}

a.lightlink:hover {...}

...
...

<A HREF="whatever.html" CLASS="darklink">Dark link</A>
<A HREF="whatever.html" CLASS="lightlink">Light link</A>

Clear enough? :)
 
Originally posted by Zedric
sure you can:

PHP:
a.darklink:hover {...}

a.lightlink:hover {...}

...
...

<A HREF="whatever.html" CLASS="darklink">Dark link</A>
<A HREF="whatever.html" CLASS="lightlink">Light link</A>

Clear enough? :)

looks right to me :)
 

Members online

No members online now.

Latest forum posts

Latest profile posts

Also Hi EP and people. I found this place again while looking through a oooollllllldddd backup. I have filled over 10TB and was looking at my collection of antiques. Any bids on the 500Mhz Win 95 fix?
Any of the SP crew still out there?
Xie wrote on Electronic Punk's profile.
Impressed you have kept this alive this long EP! So many sites have come and gone. :(

Just did some crude math and I apparently joined almost 18yrs ago, how is that possible???
hello peeps... is been some time since i last came here.
Electronic Punk wrote on Sazar's profile.
Rest in peace my friend, been trying to find you and finally did in the worst way imaginable.

Forum statistics

Threads
62,015
Messages
673,495
Members
5,624
Latest member
junebutlertd
Back