I am trying to use :hover with an element other than "a", which IE does not seem to like. I am trying to use it with submit buttons. It works well in firefox, but goes unrecognized in IE.
Is there a workaround for this other than using mouseover, and different images?
This is the code for the initial way the buttons should appear. When hovered, they simply need a different text color.
If I add another line something like:
.submitbutton:hover {style definitions}
the hover will work in firefox just fine, but not IE.
Is there a workaround for this other than using mouseover, and different images?
This is the code for the initial way the buttons should appear. When hovered, they simply need a different text color.
If I add another line something like:
.submitbutton:hover {style definitions}
the hover will work in firefox just fine, but not IE.
Code:
.submitbutton {border-style: solid; border-width: 0px; border-color: #ffff99; color: #ffff99; font-size: 16px; font-family: Verdana; font-weight: bold; background-color: #282484; }