[thelist] NN4.7 only displaying A:link, etc. properties - CSS

sfmalo sfmalo at msn.com
Sat Sep 22 14:42:50 CDT 2001


Ahhh, the "one" goes before the link, visited, etc. Thanks, I'll make the
changes. Interesting that it already works the way I have it, so N6.1 is
much more forgiving than NN4.7.

Also FYI, I placed a period before the A's only for purposes of emailing
this message so the code would not display as HTML. SOP.(<8

Sharon

From: "jon steele" <jjsteele22 at yahoo.com>
Sent: Saturday, September 22, 2001 8:26 AM

> I think the format is:
>
> a:link {...} /* for general links */
> a:active {...} /* for general links */
> etc.
>
> a.one:link {...} /* for links with class="one" */
> a.one:active {...} /* for links with class="one" */
> etc.
>
> YOu don't need an '.' before 'a', if you have one, you would be
> defining a class="a". Also, the ".one" goes before the link.
>
> HTH
>
> Jon
>
> --- sfmalo <sfmalo at msn.com> wrote:
> > Hi all -
> >
> > Having problems with NN4.7. Isn't picking up my pseudo-class selector
> > properties of A:link.one, etc. Only shows .A:link, A:visited and
> > A:active
> > stuff (without the bottom border). I know hover doesn't work but
> > nothing
> > under A:active works either!
> >
> > Example: am referencing .A:link.one etc. as follows: <.a class="one"
> > href="http://www.xyz.com" target="_blank">xyz</a>
> >
> > Any ideas as to what I'm doing wrong? Works just great in IE5.5 and
> > N6.1
> > (ta, da). Thought that NN4.7 would pick these up, but apparently not?
> >
> > .A:link { color: #ff9900; font-weight: 600; background: transparent;
> > text-decoration: none ;  }
> > .A:visited { color: #dc143c; background: transparent;
> > text-decoration: none
> > ; border-bottom: 2px dotted #dc143c ; }
> > .A:hover { color: #ff9900; background: transparent; text-decoration:
> > none ;
> > border-bottom: 2px dotted #ff9900 ; }
> > .A:active { color: #dc143c; background: transparent; text-decoration:
> > none ;
> > border-bottom: 2px dotted #dc143c ; }
> > .A:link.one { color: #0000ff; font-weight: 400; background:
> > transparent;
> > text-decoration: underline ; border: none ; }
> > .A:visited.one { color: #dc143c; background: transparent;
> > text-decoration:
> > underline ;  border: none ; }
> > .A:hover.one { color: #ff9900; background: transparent;
> > text-decoration:
> > none ;  border: none ; }
> > .A:active.one { color: #dc143c; background: transparent;
> > text-decoration:
> > none ;  border: none ; }
> > .A:visited.two { color: #fefefe; background: transparent;
> > text-decoration:
> > none ; border-bottom: 2px dotted #fefefe ; }
> >
> > Sharon
---------------------------------------------------------------------------
Sharon F. Malone
"web design and Internet writing services"
http://www.24caratdesign.com






More information about the thelist mailing list