|
|
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
2012-12-18, 07:54 PM | #1 |
The Original Greenguy (Est'd 1996) & AVN HOF Member - I Crop Pics For Thumbs In My Sleep
|
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> 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! |
2012-12-18, 08:15 PM | #2 |
Subversive filth of the hedonistic decadent West
Join Date: Mar 2003
Location: Southeast Florida
Posts: 27,936
|
It also doesn't work in Safari.
|
2012-12-18, 08:38 PM | #3 |
You can now put whatever you want in this space :)
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 |
2012-12-18, 08:46 PM | #4 |
Subversive filth of the hedonistic decadent West
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; } |
2012-12-18, 09:08 PM | #5 |
The Original Greenguy (Est'd 1996) & AVN HOF Member - I Crop Pics For Thumbs In My Sleep
|
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> http://www.link-o-rama.com/HD-Video/index.html Now I just have to fine tune the colors Thanks! |
2012-12-18, 09:26 PM | #6 |
The Original Greenguy (Est'd 1996) & AVN HOF Member - I Crop Pics For Thumbs In My Sleep
|
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> http://www.link-o-rama.com/HD-Video/index.html |
2012-12-18, 09:47 PM | #7 |
Subversive filth of the hedonistic decadent West
Join Date: Mar 2003
Location: Southeast Florida
Posts: 27,936
|
No if IE would just go away we would be in html paradise.
|
2012-12-18, 10:30 PM | #8 |
The Original Greenguy (Est'd 1996) & AVN HOF Member - I Crop Pics For Thumbs In My Sleep
|
Actually, the way I had it DID work in IE
|
2012-12-19, 12:41 AM | #9 |
You can now put whatever you want in this space :)
Join Date: Feb 2007
Location: Australia
Posts: 658
|
woohoo
__________________
Good, Cheap Wordpress Themes |
|
|