...

View Full Version : CSS a:link - sort of.



intcon
05-24-2009, 03:02 PM
Morning!

I have a nice nav bar I'm putting together, going fine....except one small detail...my client has 2 links that aren't active yet. he wants them to be "grayed out"....so i have my a:link, which is set as white...how do I make a there-is-no-link-here:link in gray? Is there a specific coding for that or do i just make that one gray. make sense? sorry, it's too early for my brain to be functioning....:p

carrie

abduraooft
05-24-2009, 03:31 PM
make sense? Not really! Please post a link to your page or at least your relevant html+CSS

sim_pack
05-24-2009, 03:33 PM
you can always try <a class="inactive" href="#">dead link</a>

then style the class="inactive" link as grey.

or just remove the href="#" entirely to so that it'll truly be a dead link.

hope that helps..

intcon
05-24-2009, 03:51 PM
you can always try <a class="inactive" href="#">dead link</a>

then style the class="inactive" link as grey.

or just remove the href="#" entirely to so that it'll truly be a dead link.

hope that helps..

yup it does! thanks!

VIPStephan
05-24-2009, 06:05 PM
If you do have a dead/non-functional link then please don’t use an href attribute unless/until you have an actual link URL. The hash/number sign is not a proper way of marking up dead links (even though it’s unfortunately widely used).



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum