Closed Bug 140286 Opened 23 years ago Closed 23 years ago

<input type="file" style="width: 500px">

Categories

(Core :: Layout: Form Controls, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 52500

People

(Reporter: juergen.mangler, Assigned: rods)

Details

From Bugzilla Helper: User-Agent: Mozilla/4.0 (compatible; MSIE 4.01; Windows NT) BuildID: since 9.8 in every verison Works not as expected, the input box is fixed to the default size (as when specified size="20"), the Browse-button has an automatic size, behind the button is a box (in the default background color) the fills the rest to get 500px width! !input box should expand to (500px - [Browse-button length]) Reproducible: Always Steps to Reproduce: 1.Write a formular 2.Include <input type="file" style="width: 500px"> or Include <input type="file" size="10" style="width: 500px"> 3. Try it Actual Results: Looks stupid, destroys the form layout! Expected Results: input box should expand to (500px - [Browse-button length]) in both cases (stylesheet should override size in second case) <form> <input type="file" style="width:500px"> <input type="submit" value="" style="with:550px"> </form>
dup of 52500 [FILE]CSS Styles applied to INPUT TYPE FILE *** This bug has been marked as a duplicate of 52500 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.