Closed Bug 208896 Opened 21 years ago Closed 21 years ago

style="padding: 0px;" doesn't work for buttons

Categories

(Core :: CSS Parsing and Computation, enhancement)

x86
Linux
enhancement
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 140562

People

(Reporter: hakon_, Assigned: dbaron)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4b) Gecko/20030509
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4b) Gecko/20030509

The <button> and <input> buttons always have a little padding to its content,
even if padding is set to zero.
This makes it hard to display uniform buttons, where some has to be <a> elements
whereas some buttons have to be submit buttons.

Reproducible: Always

Steps to Reproduce:



Expected Results:  
Giving style="padding: 0px;" to any of these elements should really imply no
padding.

*** This bug has been marked as a duplicate of 140562 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: