W3C home > Mailing lists > Public > www-style@w3.org > September 2002

Re: Changing the thext of "Browse Button"

From: Andrew Clover <and@doxdesk.com>
Date: Thu, 5 Sep 2002 20:23:20 +0000
To: www-style@w3.org
Message-ID: <20020905202320.GA6683@doxdesk.com>

Cleber Hostalacio de Melo <cleber@mg.gov.br> wrote:

> Anyone has any idea how to change the text "Browse..."

There is no provision for styling subparts of the file upload control in
the CSS standard because there is no standard for how a file upload control
behaves: there may well not be a Browse button at all. And there is no way
to style the subparts of the control in any of today's popular browsers.

You can *nearly* do it in IE for Windows using a mess of JavaScript, but
then the form won't submit properly (this is either a security measure gone
wrong or just a bug). So, in conclusion, give up. HTH...

-- 
Andrew Clover
mailto:and@doxdesk.com
http://and.doxdesk.com/
Received on Thursday, 5 September 2002 16:27:21 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:16 GMT