Java I think...
I need something that makes it so when the mouse goes over the link it highlights the word in the color. Not just change the color of the word but highlight it. Also I want it so the text is not underlined. I have this but it doesn't make it so it is Highlighted.
code:
<style> <!-- A:link {text-decoration: none; font-family: arial; color: white} A:visited {text-decoration: none; font-family: arial; color: white} A:hover {text-decoration: none; font-family: arial; color: yellow} --> </style> [/code] Any help is appreciated. Thanks,
John Pollock posted this at 04:07 — 16th March 2000.
He has: 628 posts
Joined: Mar 1999
Change the background-color property on the hover:
A:hover {text-decoration: none; font-family: arial; color: yellow; background-color:red }
------------------
John Pollock
http://www.pageresource.com
http://www.javascriptcity.com
Java Script: A Beginner's Guide
Page Resource
AndyB posted this at 04:07 — 16th March 2000.
They have: 344 posts
Joined: Aug 1999
add to the link style definition - where appropriate -
background-color: #rrggbb;
Is that what you meant??
(beaten to the punch by John - but only by seconds)
[This message has been edited by AndyB (edited 15 March 2000).]
Suzanne posted this at 04:25 — 16th March 2000.
She has: 5,507 posts
Joined: Feb 2000
Caution: Nit-picking ahead!
It's Cascading Style Sheets that make those changes (the hint is the style type="text/css" -- you should always have the type in the style tag, by the way, or it won't work in some cases), Java uses parameters and applets and classes, et cetera to make the changes, JavaScript uses images... Whoosh!
Suzanne
[This message has been edited by Suzanne (edited 15 March 2000).]
Denmark 3 posted this at 22:09 — 16th March 2000.
They have: 881 posts
Joined: Feb 2000
Thanks John. Thanks Andy. Thanks Suzanne. Didn't know it was CSS. I don't know Javascript anyway. I plan on learning it sometime though, when I get the time. Thanks again guys!
------------------
~Parker Trasborg~
Formerly- ParkerT and sixflags111
NSS posted this at 00:50 — 17th March 2000.
They have: 488 posts
Joined: Feb 2000
"To err is human"
NSS
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.