Log in

View Full Version : slight coding help (CSS)



Apui
08-03-2009, 02:50 PM
I have a set color for links on my site.

a { color: #FF9900; }

however, I want the links to appear white in my "nav" div. I do the following

a#nav { color: #FFF; }

However this doesn't seem to work, does anyone know what I'm doing wrong? I have a feeling it's the a#nav part.

Please if you know could you help me, and if you don't know, please don't post... I don't want to read through stuff that isn't the answer to what I need.

Thanks in advance

Jamesy
08-03-2009, 02:55 PM
#nav a {color: #fff;}

Apui
08-03-2009, 02:59 PM
Wow, I feel like an idiot :P

I tried like
a#nav
#nav.a
#nav:a
a:#nav

all of thos types of things and it's just that.

Cheers :)

Want to hide these adverts? Register an account for free!