Closed
Bug 416881
Opened 16 years ago
Closed 16 years ago
input type="file" doesn't honor surrounding width
Categories
(Firefox :: General, defect)
Tracking
()
People
(Reporter: egonknapen, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b2) Gecko/2007121120 Firefox/3.0b2 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b2) Gecko/2007121120 Firefox/3.0b2 when using style="width:100%" on form elements, they should resize to the size of there parents. If was even enforced for other elements in firefox 3. Would be nice if Firefox 3 would support this to for the file-upload element. Reproducible: Always Steps to Reproduce: 1. <input type=file style="width:100%"> 2. <div> tags around it with a certain width 3. Actual Results: the input type="file" doesn't care about anything it just displays the same size Expected Results: The width of the total (input + button) should the size of its parent It works in Opera, Safari, IE7, even in IE6 it seems to work.
Comment 1•16 years ago
|
||
from bug 412366 comment 1: input[type="file"] has only very limited support for author styling. That is covered by bug 52500. You can still adjust the width using the size attribute on the input element.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•