- This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Hi, I know this is probably a relatively easy problem, but I’m trying to have multiple links highlight on mouseover and I wasn’t sure of the best way of going about it. Is JS necessary?
For reference, here’s a site that uses it: http://www.dreamerlines.lv/
Thanks.
I’m sorry, I tried a number of different ways of getting it to work, but couldn’t seem to.
You mean that in the style sheet I would put something like
a.aboutbelow:hover{
#FFFFFF;
}
#abouttop a.aboutbelow:hover{
#FFFFFF:
}
Or something else entirely? Thanks.
Man, I feel like a dummy, but I forgot to mention that I’m not looking to remotely highlight images (like that site) but simply cause the hover of one link to also cause the hover of another link simultaneously.
So, if I had #box, I’d make it position:relative, and if the link in the nav bar I’d make absolute, as well as the link in the body of the page?
Maybe I should just stick with JS, haha.
I know this post is old but for anyone with a bit of time their hands, how do you get the above code to also make link1 show hover state when you hover over link2?