I would like to have the attributes of one link in footer be different from all the other site-wide links. Can someone explain how to do that in CSS? Thanking you in advance!
lucy24
9:16 am on Nov 8, 2011 (gmt 0)
a.special {color: garish; text-decoration: blink; font-size: 500%; text-shadow: et cetera...} a.special:hover {more fancy stuff} a.special:visited {still more stuff} a.special:active {paint the town red}
Oi! What happened to text-shadow anyway? Is it another of those properties that's on vacation in 2.1?
I was kidding about the b-word.
alt131
10:35 pm on Nov 8, 2011 (gmt 0)
Hi Jimdab and welcome to WebmasterWorld :)
... don't be concerned about Lucy's jokes - she's our font expert and comedian and "b" has a history round here ... < waves a wet haddock in Lucy's direction > ;)
The explanation behind the examples Luce' gave is to class the <a> you want to be different, so a.special would apply to <a class="special" href="#">
Depending on the structure of your html and what browsers you are supporting you might be able to use one of the more advanced selectors (check out page2 "Selectors" at the link Lucy provided), but a class will do it.
Jimdab
8:21 am on Nov 10, 2011 (gmt 0)
THANK YOU!Lucy and Alt.
As always the solution is so simple--if you know what you are doing that is. Every time I think I am getting CSS down I get a duh! moment.
BTW I can tell I am going to love this site Thanks again.