![]() |
Need CSS Help...On Link Hover Disable?
Hello, does anyone know of a way to disable a font size change when a link is hovered? I need to do this for a small portion of my site, but keep it active for the majority of the site.
I've got the font size set to 12px for links, and 14px when hovered, but I'd like to keep a few links 14px all the time. Is there any way to disable internal css for a certain section of my page? Perhaps some sort of kill-all function? Thanks, c-lo |
make a new class for the new on hover, and assign it only where needed.
|
The CSS must already be written so you should be able to change the 12px to 14px and that be it.
|
Quote:
I guess I'd need a seperate class, so I'm going to try what Theo suggests... Thanks, c-lo |
Oh ic, then yeah make a seperate class. Without seeing the site its hard to say how hard or easy that is.
If the site is dynamic it might be a little difficult, if its static it would be easy. |
http://www.cockntail.com - About 1/3 of the way down the main page, where it says "Friend's Smut." Hover those links and you'll see what I mean. I want to keep them the same size as they are before being hovered.
Hope that helps. Also, I must add that the links are ran through Javascript...as they are taken from a remotely hosted tradescript. That definitely complicates things. |
Here's what I'm using right now:
Code:
<style type="text/css"> Code:
<style=".anc"> Thanks again, c-lo |
Check out his CSS.........
|
Um... damn... dude... dude...... um... i don't have the headspace to sift through that tonight lol.
I cant garentee this will work but... well... you need to rewrite your entire page IMHO. Code:
<style type="text/css"> |
I finally got it right. I slightly edited Natural Cause's code and it solved the problem. I actually had it several minutes ago, but then I noticed I had copied Cause's code which says ".aRc" and not ".aNc". Once I corrected that and threw in a 'a.hover.anc' it came out right.
Here's the header code for other's future reference: <style type="text/css"> <!-- .anc {font-family: Arial; font-size: 16px; color: #FFFF99} a.anc {font-size: 16px; color: #FFFF99} a:hover.anc {font-size: 16px; color: #FFFF99} --> </style> Used in conjuction with <style=".anc"> open & close tags, page-wide hover commands are ignored. Thanks again everyone, c-lo |
All times are GMT -7. The time now is 02:21 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123