just thought i'd add my $0.02;
the optimal psuedoclass order in your style sheet is;
:link
:visited
:focus
:hover
:active.
LoVe..focus...HAte. L for Link, V for visited etc.
I think there's some division as to whether focus belongs in the
middle, or somewhere else. I put it in the middle.
This did it. I needed the :link on the a selectors to keep some name> tags from styling weirdly. Thanks for the extra set of eyes!
Barb
Margaret Martin wrote:
Barb:
I'm no expert, but maybe this is the problem:
#main a:link:hover, #oldmain a:link:hover {
color: #33a544;
}
You don
Barbara,
> ok -- I think I've done it all right, but I still don't get the hover
> effect on my visited links. check this page:
> http://www.pcc.com/newsletter/ as an example.
I think all you need to do is remove ":link" from your selectors, like this:
#main a:hover, #oldmain a:hover {
Tim -- I'm pretty sure I've got it that way. Do you see it differently?
http://www.pcc.com/newsletter/
You need to make sure you write them in the correct sequence in order
for the cascade to work properly. For most purposes, you want: link,
visited, hover, active.
tim
--
Barbara Dozet
Barbara Dozetos schrieb:
ok -- I think I've done it all right, but I still don't get the hover
effect on my visited links. check this page:
http://www.pcc.com/newsletter/ as an example.
"The :link pseudo-class applies for links that have not yet been
visited. The :visited pseudo-class applie
ok -- I think I've done it all right, but I still don't get the hover
effect on my visited links. check this page:
http://www.pcc.com/newsletter/ as an example.
And please resist the urge to tell me how silly the table layout is.
I'm in the process of a redesign of the site and am having to
Barbara,
A:Link, A:Visited, A:Hover and A:Active are all states attached to the "a"
element. You can style each individually, and each will be show it's
respective style according to the users action.
To accomplish what you're asking you could write something like this:
A:Link {color:#333;}
A:Vi
My issue is making the hover style work on visited links. I want a:link
and a:visited to look different, but I want either to do the same thing
in hover. Is there such a selector as a:visited:hover?
Barb
Mike Stickel wrote:
No, a:visited does not override a:hover. To ensure the same style f
On May 26, 2005, at 11:49 AM, Barbara Dozetos wrote:
Does a:visited override a:hover?
In other words, how do make the hover style be the same on both
visited and unvisited links?
No, a:visited does not override a:hover. To ensure the same style for
visited and unvisited links try the foll
Hello all --
I'm having a brain fart, I think.
Trying to style links.
Does a:visited override a:hover?
In other words, how do make the hover style be the same on both visited
and unvisited links?
Barb
--
Barbara Dozetos ~ Web Designer/Graphic Designer
Physician's Computer Company * (p)80
10 matches
Mail list logo