Hello,
I know it relatively easy to assign rollover affects to <a> elements using css classes that will define the link, visited, active and hover states of an element.
Is there a way to accomplish a similar effect with the "Button" element?
for example, I'd like to build in a style that will style this button:
<input type="button" value="Add Document" class="button">
currently, I have a style class that styles these elements,
.optionButton {
font-size: 8pt;
color: #000000;
font-weight: normal;
background: lavender;
cursor: pointer;
width: 100px;
align: center;
border-color: 006699;
border-width: 1px;
}
but I would like to update this to somehow add in the ability to change background on rollover for example.
Thanks!
RR![[yinyang] [yinyang] [yinyang]](/data/assets/smilies/yinyang.gif)
I know it relatively easy to assign rollover affects to <a> elements using css classes that will define the link, visited, active and hover states of an element.
Is there a way to accomplish a similar effect with the "Button" element?
for example, I'd like to build in a style that will style this button:
<input type="button" value="Add Document" class="button">
currently, I have a style class that styles these elements,
.optionButton {
font-size: 8pt;
color: #000000;
font-weight: normal;
background: lavender;
cursor: pointer;
width: 100px;
align: center;
border-color: 006699;
border-width: 1px;
}
but I would like to update this to somehow add in the ability to change background on rollover for example.
Thanks!
RR
![[yinyang] [yinyang] [yinyang]](/data/assets/smilies/yinyang.gif)