I've done some customisation of buttons on webpages, but this is the only way I could get it to work:
Code the button something like:
<input type="button" class="buttonclass" name="mybutton" value="ClickMe" onclick="myfunction()" />
And then in the CSS:
input.buttonclass
{
font-family:sans-serif;
}
But if you're trying to customise the look and feel of buttons in mozilla you'll have to either make every input element - text boxes, radio buttons, checkboxes, buttons etc the same sans-serif font, because there's no way to change the class of the 'generic' button in mozilla that i'm aware of.
Hope this helps
David
|