I have a very basic question. I am setting height to 50px for my html form submit button. It works on Firefox but not Chrome nor Safari. The code is as simple as following:
<input type="submit" value="Send" style="height:50px;" />
Any idea how to make it work on Chrome and Safari?
This should be working also.
There are quite a few parameters for this property that you may want to take advantage of and/or watch out for. Also, If you simply wanted to disable inner-shadows of input fields you could just use -webkit-appearance:caret;.
Just adding
-webkit-appearance: none;
on my<input>
worked for me on safari browser on Macbook.Adding to Şήøωў's (upvoted)answer:
@ Safari 11.0.2 (13604.4.7.1.3) @ macOS 10.13.2 (17C88)
e.g.
solved my issue (of only
-size
of mostly [-webkit-
]font-
* having very limited effect);overriding "User Agent Stylesheet":
Change it from
<input>
to<button>
and add-webkit-appearance: none;
to the start of your CSS, eg: