![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: May 2005
Location: On search pages, on ICQ @ 308 7 43669, and in the U.S.
Posts: 925
|
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
__________________
![]() ![]() Traffic & Hardlink Trades | Sponsors | Resources The adult marketing network you can trust |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Mar 2005
Posts: 1,099
|
make a new class for the new on hover, and assign it only where needed.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Oct 2006
Location: AIM: NaturalCause911
Posts: 222
|
The CSS must already be written so you should be able to change the 12px to 14px and that be it.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 | |
Confirmed User
Join Date: May 2005
Location: On search pages, on ICQ @ 308 7 43669, and in the U.S.
Posts: 925
|
Quote:
I guess I'd need a seperate class, so I'm going to try what Theo suggests... Thanks, c-lo
__________________
![]() ![]() Traffic & Hardlink Trades | Sponsors | Resources The adult marketing network you can trust |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Join Date: Oct 2006
Location: AIM: NaturalCause911
Posts: 222
|
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. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Join Date: May 2005
Location: On search pages, on ICQ @ 308 7 43669, and in the U.S.
Posts: 925
|
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.
__________________
![]() ![]() Traffic & Hardlink Trades | Sponsors | Resources The adult marketing network you can trust |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Join Date: May 2005
Location: On search pages, on ICQ @ 308 7 43669, and in the U.S.
Posts: 925
|
Here's what I'm using right now:
Code:
<style type="text/css"> <!-- .anc {font-family: Arial; font-size: 16px; color: #FFFF99} --> </style> Code:
<style=".anc"> <script language="JavaScript">showLink(1)</script><br> <script language="JavaScript"> showLink(2)</script><br> <script language="JavaScript"> showLink(3)</script><br> <script language="JavaScript"> showLink(4)</script><br> <script language="JavaScript"> showLink(5)</script><br> </style> Thanks again, c-lo
__________________
![]() ![]() Traffic & Hardlink Trades | Sponsors | Resources The adult marketing network you can trust |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Confirmed User
Join Date: Feb 2006
Posts: 2,594
|
Check out his CSS.........
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
Confirmed User
Join Date: Oct 2006
Location: AIM: NaturalCause911
Posts: 222
|
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"> <!-- a.arc { font-size: 14px; } --> </style> <p class="arc"> <script language="JavaScript">showLink(1)</script><br> <script language="JavaScript"> showLink(2)</script><br> <script language="JavaScript"> showLink(3)</script><br> <script language="JavaScript"> showLink(4)</script><br> <script language="JavaScript"> showLink(5)</script><br></p> |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
Confirmed User
Join Date: May 2005
Location: On search pages, on ICQ @ 308 7 43669, and in the U.S.
Posts: 925
|
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
__________________
![]() ![]() Traffic & Hardlink Trades | Sponsors | Resources The adult marketing network you can trust |
![]() |
![]() ![]() ![]() ![]() ![]() |