[Javascript] Doubt in style sheets
David Lovering
dlovering at gazos.com
Mon Nov 24 13:15:02 CST 2003
I would imagine simply declaring your anchor with a CLASS pointing to your
CSS definition would work in most cases, although I suspect there may be
some browser compatibility issues which would crop up.
For example,
<A HREF="myLink.htm" CLASS="anchorlink">myLink</A>
should work, although I haven't tested it recently or rigorously.
-- Dave Lovering
----- Original Message -----
From: "Nazir Wasim Ahmed" <nazirwa at sakinfotech.co.in>
To: "[JavaScript List]" <javascript at LaTech.edu>
Sent: Monday, November 24, 2003 1:16 AM
Subject: [Javascript] Doubt in style sheets
>
> hello people..
>
> i am new to css.
> how can i specify custom colors for vlink and alink in an anchor tag thro'
> stylesheet
> i have an element like this in the css file...
>
> .anchorlink{
> FONT-SIZE:7pt;
> COLOR: #000066;
> FONT-FAMILY: Verdana, Helvetica, sans-serif;
> FONT-WEIGHT:bold;
> TEXT-DECORATION:none;
> }
>
> i need to specify different colors for visit & active links...
>
>
> thanx in advance.
>
> Nazir
>
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript
>
>
More information about the Javascript
mailing list