Closed
Bug 812907
Opened 12 years ago
Closed 12 years ago
White space before and after button text cannot be removed
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 140562
People
(Reporter: hans_is, Unassigned)
References
()
Details
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.64 Safari/537.11
Steps to reproduce:
I want to show a submit button as a link. I have managed to do this with CSS. However the spacing in Firefox is not correct. There is some additional space before and after the button/link text.
Actual results:
There is some extra space as seen in this example (not mine), but it is exactly my problem.
http://www.byteshift.de/msg/div/input-as-link-by-css
This occurs in Firefox 16.02 and in Firefox 14.01 for Android.
Expected results:
There should be no extra spacing. The behavior should be as in IE 9, Google Chrome version 23 and Opera version 12.02.
Updated•12 years ago
|
Component: Untriaged → Layout
Product: Firefox → Core
Comment 1•12 years ago
|
||
You can get rid of it for the moment with "input:-moz-focus-inner { padding: 0, border: none }". Note that this will not show a focus outline on the button, though, breaking accessibility....
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•