OZONE Asylum
Forums
XML - XSL - XSLT - XHTML - CSS - DOM
Turning off hover...
This page's ID:
10871
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
V: The only problem with that option is that I want all my links to hover [b]except[/b] for two classes. DL: OK, I'm apparently having a record run of stupid here. When you say "specifying the same styles for all the pseudo classes," do you mean that I should give a:hover the same styles as the class itself? I'm a bit confused on that point. Here's what I'm doing now: [code] .imagenav { margin-top: 1em; color: #66c; background-color: #000; text-align: center; font: 200% georgia, serif; font-weight: 600; text-indent: 0em; } .imagenav a:hover { color: #f33; background-color:#000; } [/code] So would I just put the styles for .imagenav into .imagenav a:hover? I have a feeling I'm getting this wrong here... and I also have the feeling that, while not technically correct, the way I've done it here may be the simplest way around this. Whoa, hold on... I just got an idea. Let me go try this out. Well, OK, that didn't work. I did change my a:hover styles, though: [code] .imagenav a:hover { color: inherit; background-color: transparent; } [/code] Pretty much the same thing, but for some reason it seems more legitimate using "transparent." What do you think about this? [This message has been edited by Suho1004 (edited 12-09-2002).]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »