Closed
Bug 183335
Opened 22 years ago
Closed 22 years ago
Can't remove whitespace around image in <BUTTON>
Categories
(Core :: Layout: Images, Video, and HTML Frames, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 140562
People
(Reporter: anthony, Assigned: pavlov)
Details
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; YComp 5.0.2.6) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2.1) Gecko/20021130 I was aiming for x-browser compatible buttons, and I found that I could NOT remove extra space added by the button tag <BUTTON> when it contains an image. in this example, the LIME border never leaves the image <A HREF="about:blank"><BUTTON STYLE="background-color: lime; padding: 0px; marging: 0px; border: none 0px" TYPE="SUBMIT"><IMG SRC="images/nav_indexbutton.gif" WIDTH="69" HEIGHT="23" BORDER="0" NAME="nav_indexbutton" VALUE="index"></BUTTON></A> Reproducible: Always Steps to Reproduce: 1. Use this code: <A HREF="about:blank"><BUTTON STYLE="background-color: lime; padding: 0px; marging: 0px; border: none 0px" TYPE="SUBMIT"><IMG SRC="images/nav_indexbutton.gif" WIDTH="69" HEIGHT="23" BORDER="0" NAME="nav_indexbutton" VALUE="index"></BUTTON></A> Actual Results: The lime green border never goes away. Expected Results: No lime green border, no extra whitespace around the button.
Comment 1•22 years ago
|
||
dup of Bug 140562.
Comment 2•22 years ago
|
||
*** This bug has been marked as a duplicate of 140562 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Updated•6 years ago
|
Product: Core → Core Graveyard
Updated•6 years ago
|
Product: Core Graveyard → Core
You need to log in
before you can comment on or make changes to this bug.
Description
•