"Form" function and mousover... -...
Hello everyone,
Could you advise me with this....
My site has a menu that is using the "Form" function.
The code snippet I started with is this...
<form action="alink.html"><input type="submit" value="Click Me." /></form
If I run this now, I see a button that is faintly highlighted when the mouse passes over it.
Now.... I have used a function to modify the colour of the buttons on my page, like so...
<style type="text/css">
INPUT
{ background-color: black;
border-color: purple;
color: yellow;
font-family: verdana, arial, sanserif;
font-weight: bold;
font-size: 11pt;
text-align: centre;
p.thicker {font-weight:900}
}
</style>
This sets up the colours well, but the mouseover highlight has gone...
Can anyone tell me why that may be and what exactly do I need to do to achieve a highlight on mouseover.......
Thankyou
Peter
Could you advise me with this....
My site has a menu that is using the "Form" function.
The code snippet I started with is this...
<form action="alink.html"><input type="submit" value="Click Me." /></form
If I run this now, I see a button that is faintly highlighted when the mouse passes over it.
Now.... I have used a function to modify the colour of the buttons on my page, like so...
<style type="text/css">
INPUT
{ background-color: black;
border-color: purple;
color: yellow;
font-family: verdana, arial, sanserif;
font-weight: bold;
font-size: 11pt;
text-align: centre;
p.thicker {font-weight:900}
}
</style>
This sets up the colours well, but the mouseover highlight has gone...
Can anyone tell me why that may be and what exactly do I need to do to achieve a highlight on mouseover.......
Thankyou
Peter
If you're just looking for the text to highlight you need a hover setting in your CSS, if you're looking for the entire graphic to highlight then you need to setup something similar to what this page explains:
http://www.oreillynet.com/pub/a/javascr … overs.html
If you meant something else just roll your eyes and say to yourself "man that woman is blonde or what?" LOL Let me know if that's what you were getting at or not.
http://www.oreillynet.com/pub/a/javascr … overs.html
If you meant something else just roll your eyes and say to yourself "man that woman is blonde or what?" LOL Let me know if that's what you were getting at or not.
Hello Wolverana,
That made me laugh, I think maybe its me havin a blonde moment, problem is, it lasts forever....
Yes, right now I would like to be able to highlight ANYTHING thats a button....
I can do it with the text style links, and have the hover, like this...
a.two:hover {font-size:24; font-weight:bold; color: red;}
But to mouseover and highlight a button, seems to be more complicated.
Thankyou, I will read up your links now.
Peter
That made me laugh, I think maybe its me havin a blonde moment, problem is, it lasts forever....

Yes, right now I would like to be able to highlight ANYTHING thats a button....
I can do it with the text style links, and have the hover, like this...
a.two:hover {font-size:24; font-weight:bold; color: red;}
But to mouseover and highlight a button, seems to be more complicated.
Thankyou, I will read up your links now.
Peter
yeah you can do that I believe with the info on that page that I linked then. not sure how the shopping cart does it but my shopping cart I created mouseover buttons for it and they work pretty slick, but I didn't have to code it as it was settings already setup in the Shopping Cart program. The link in my sig to Accessories... shows that if that's what you're after

Jo Ann,
I have looked at the link and its very interesting, I know it can be done. I just have to learn quickly!
I will look at the link in your Sig, maybe I can "view source" and try to work it out.
I do appreciate your help, thanks
Peter
I have looked at the link and its very interesting, I know it can be done. I just have to learn quickly!

I will look at the link in your Sig, maybe I can "view source" and try to work it out.
I do appreciate your help, thanks
Peter
Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.