I tried this simple html:
TEST FONT SIZE</br>
<input type="button" value="test bytton" style="font-size:20px">
<a style="font-size:20px">test link</a>
and found out that the font size of this button looks bigger than the font size of the link in spite of style.
Does anybody know why style works differently for link and for button, and how to make them looks like the same?
The font-size is the same. But it looks different because the default page font is different from the default input-field font. Set the
font-familyon both elements the same and they’ll look the same.I usually do:
to get consistent fonts over the page and form fields.