Closed Bug 65597 Opened 24 years ago Closed 24 years ago

[FILE]INPUT TYPE="file" doesn't take CSS styling

Categories

(Core :: Layout: Form Controls, defect)

x86
Other
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 52500
Future

People

(Reporter: martin.honnen, Assigned: rods)

Details

Attachments

(1 file)

When trying to style an INPUT TYPE="file" element Mozilla ignores the css. At
least the file input field should be styled, and it would be nice if the browse
button were styled too.

<FORM NAME="formName" ONSUBMIT="return false">
<INPUT TYPE="file" NAME="fileName"
       STYLE="background-color: orange;
              font-size: 24pt;"
>
</FORM>
Well there's more than that because not only 'background-color' is not wroking,
but also 'color' and 'border' makes a mess of this. The background-color, orange
here, are set behind the input and button! This is well known here, but not
fixed jet. In another bug report, I asked for improvements to the input
type="file", but without luck as it seems, or they are still working on this issue!
This is related to bug 52500 but raises other issues that 52500 does not address.
I think this is a dup
Status: NEW → ASSIGNED
Summary: INPUT TYPE="file" doesn't take CSS styling → [FILE]INPUT TYPE="file" doesn't take CSS styling
Target Milestone: --- → Future
I agree with rod.
I duped my own bug 52813 with bug 52500.

*** This bug has been marked as a duplicate of 52500 ***
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
I guess this is fixed now (branch 1.7.6). However, bug 52500 is a superset of
this bug and is far from being resolved. Therefore, pointing it as a duplicate
is misleading.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: