Anas R. wrote:
Is there any way to style input[type=file]? both the text field and
the button?
Maybe. This is a wide question, but you can apply various CSS properties
to such an element and see what happens in different browsers. The
specifications don't really tell much about what _should_ happen. For
example, if you set background properties, should they apply to the
filename box's content, the content of the Browse button, both of them,
or _their_ background (i.e. the background of the box inside which they
appear)?
So what would you like to do? Any question that involves distinguishing
the text field and the button (i.e., applying some rule to only of them)
has probably the answer No, you can't specify that, but browsers might
actually apply some declarations to one of them only.
Some notes on rendering file input widgets:
http://www.cs.tut.fi/~jkorpela/forms/file.html#present
Jukka K. Korpela (Yucca)
http://www.cs.tut.fi/~jkorpela/
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/