Update: I have noticed that the issue mentioned in this question is specific to OS X browsers.
I am looking to modify the font
style of my input buttons using CSS, similar to the following:
input[type="button"]
{
font: italic bold 3em fantasy;
}
However, this does not display correctly in Chrome, Safari, and Opera running on OS X unless I also adjust the default background-color
, which is not something I want to do.
View here: http://jsfiddle.net/S7y5B/
So my question is simple: How can I change a button's font without altering the background color, ensuring compatibility with all browsers? In the JsFiddle example provided above, I would like Button 1 to resemble Button 2, while keeping the original background color. Is there a way to achieve this?