Topic: Troubles selecting href inside div (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=10796" title="Pages that link to Topic: Troubles selecting href inside div (Page 1 of 1)" rel="nofollow" >Topic: Troubles selecting href inside div <span class="small">(Page 1 of 1)</span>\

 
Karl
Bipolar (III) Inmate

From: Phoenix
Insane since: Jul 2001

posted posted 08-27-2002 08:12

Hi,

I have an HREF tag inside a DIV tag. The DIV tag class = "modified". I am trying to set the a visited attribute color, but i can't get it. Here is what I have:

.modified a:visited {
color: #ffffff;
}

Thanks - and I have one more question after we figure this one out.
Karl

Karl www.AZProGolf.com
karl@azprogolf.com

Emperor
Maniac (V) Mad Scientist with Finglongers

From: Cell 53, East Wing
Insane since: Jul 2001

posted posted 08-27-2002 12:42

Karl: Try:

a.modified:visited {
color: #ffffff;
}

see here:
www.gurusnetwork.com/tutorials/css/cssintro/cssintro7.html

[edit: Poo - why does the meaning of things only sink in after I've posted Sorry that isn't the solution. What you posted should work I think as long as it is below where you set the main a:visited style]

___________________
Emps

FAQs: Emperor

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 08-27-2002 15:25

Make sure that that style sheet is after all the other "a" style sheets.



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu