Greenguy's Board


Go Back   Greenguy's Board > Programming & Scripting
Register FAQ Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2012-12-18, 06:54 PM   #1
Greenguy
The Original Greenguy (Est'd 1996) & AVN HOF Member - I Crop Pics For Thumbs In My Sleep
 
Greenguy's Avatar
 
Join Date: Feb 2003
Location: Blasdell, NY (shithole suburb south of Buffalo)
Posts: 40,285
Send a message via ICQ to Greenguy
Question Why won't the hover thingy work on my links in Chrome?!

As you can tell by the title, my CSS skills are less than stellar

I did search on Google for an answer, but with my very limited CSS knowledge, I might as well have been looking at a different language.
(Yes, I know that I technically WAS looking at a different language)

For this page:
http://www.link-o-rama.com/HD-Video/index.html

I'm using this very basic CSS:
Code:
<style type="text/css">
body {background:#000000; margin:0px 0px; text-align:center; font-family:'Comic Sans MS',sans-serif; color:lime; font-size:21px;}
a:link {color:#00FF00;}
a:visited {color:#00CC00;}
a:hover {color:#00FF00;}
</style>
There is a very subtle difference in the color of an unvisited link & a visited link, but it is a difference none-the-less. It does work in IE, but the link/text color stays the same in Chrome.

Apparently, this is a known problem with Chrome. Everything I looked at was WAY out of my league as far as how to correct it & the few things I tried didn't work

So does anyone know a basic fix for this?

Thanks!
__________________

Promote POV Porn Cash By Building & Submitting Galleries to the Porn Luv Network
Greenguy is offline   Reply With Quote
Old 2012-12-18, 07:15 PM   #2
Cleo
Subversive filth of the hedonistic decadent West
 
Cleo's Avatar
 
Join Date: Mar 2003
Location: Southeast Florida
Posts: 27,936
It also doesn't work in Safari.
__________________
Free Rides on Uber and Lyft
Uber Car: uberTzTerri
Lyft Car: TZ896289
Cleo is offline   Reply With Quote
Old 2012-12-18, 07:38 PM   #3
dunc
You can now put whatever you want in this space :)
 
dunc's Avatar
 
Join Date: Feb 2007
Location: Australia
Posts: 658
Its working on a mac in chrome safari firefox

Your a:link and a:hover styles are the same color, the a:visited link goes slightly darker
__________________
Good, Cheap Wordpress Themes
dunc is offline   Reply With Quote
Old 2012-12-18, 07:46 PM   #4
Cleo
Subversive filth of the hedonistic decadent West
 
Cleo's Avatar
 
Join Date: Mar 2003
Location: Southeast Florida
Posts: 27,936
Messed around with the css for a bit and what seems to work for me on my Mac is Safari, Firefox and Chrome is to make the color different in the link and hover tag like this.

Code:
a:LINK {color:#00ff00; text-decoration: none; }
a:visited {color:#00cc00; text-decoration: none; }
a:HOVER { color:green; text-decoration: none; }
__________________
Free Rides on Uber and Lyft
Uber Car: uberTzTerri
Lyft Car: TZ896289
Cleo is offline   Reply With Quote
Old 2012-12-18, 08:08 PM   #5
Greenguy
The Original Greenguy (Est'd 1996) & AVN HOF Member - I Crop Pics For Thumbs In My Sleep
 
Greenguy's Avatar
 
Join Date: Feb 2003
Location: Blasdell, NY (shithole suburb south of Buffalo)
Posts: 40,285
Send a message via ICQ to Greenguy
Interesting.....I'm finding that if the link & the hover are the same color, it won't work (even using #00FF00 for the link & "lime" for the hover)

BUT......

If I use a different color for each, it works just fine:
Code:
<style type="text/css">
body {background:#000000; margin:0px 0px; text-align:center; font-family:'Comic Sans MS',sans-serif; color:lime; font-size:21px;}
a:link {color:#00FF00;}
a:visited {color:#008000;}
a:hover {color:#00CC00;}
</style>
...and here's the pudding:
http://www.link-o-rama.com/HD-Video/index.html

Now I just have to fine tune the colors

Thanks!
__________________

Promote POV Porn Cash By Building & Submitting Galleries to the Porn Luv Network
Greenguy is offline   Reply With Quote
Old 2012-12-18, 08:26 PM   #6
Greenguy
The Original Greenguy (Est'd 1996) & AVN HOF Member - I Crop Pics For Thumbs In My Sleep
 
Greenguy's Avatar
 
Join Date: Feb 2003
Location: Blasdell, NY (shithole suburb south of Buffalo)
Posts: 40,285
Send a message via ICQ to Greenguy
For anyone that stumbles upon this thread & is looking for a handy table of colors & codes, I found this one:
http://web.njit.edu/~kevin/rgb.txt.html

That page showed me that #00FF00 and #00EE00 are basically the same color to the naked eye
Code:
<style type="text/css">
body {background:#000000; margin:0px 0px; text-align:center; font-family:'Comic Sans MS',sans-serif; color:lime; font-size:21px;}
a:link {color:#00FF00;}
a:visited {color:#00CC00;}
a:hover {color:#00EE00;}
a:active {color:#32CD32;}
</style>
The pudding:
http://www.link-o-rama.com/HD-Video/index.html
__________________

Promote POV Porn Cash By Building & Submitting Galleries to the Porn Luv Network
Greenguy is offline   Reply With Quote
Old 2012-12-18, 08:47 PM   #7
Cleo
Subversive filth of the hedonistic decadent West
 
Cleo's Avatar
 
Join Date: Mar 2003
Location: Southeast Florida
Posts: 27,936
No if IE would just go away we would be in html paradise.
__________________
Free Rides on Uber and Lyft
Uber Car: uberTzTerri
Lyft Car: TZ896289
Cleo is offline   Reply With Quote
Old 2012-12-18, 09:30 PM   #8
Greenguy
The Original Greenguy (Est'd 1996) & AVN HOF Member - I Crop Pics For Thumbs In My Sleep
 
Greenguy's Avatar
 
Join Date: Feb 2003
Location: Blasdell, NY (shithole suburb south of Buffalo)
Posts: 40,285
Send a message via ICQ to Greenguy
Actually, the way I had it DID work in IE
__________________

Promote POV Porn Cash By Building & Submitting Galleries to the Porn Luv Network
Greenguy is offline   Reply With Quote
Old 2012-12-18, 11:41 PM   #9
dunc
You can now put whatever you want in this space :)
 
dunc's Avatar
 
Join Date: Feb 2007
Location: Australia
Posts: 658
woohoo
__________________
Good, Cheap Wordpress Themes
dunc is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:50 AM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
Greenguy Marketing Inc