View Full Version : Set font on input type=file


emartel
04-25-2006, 04:25 AM
Hi, can anyone tell me if its possible to specify the font on the 'Browse' button of an 'INPUT TYPE=FILE' field? I know you can change the font in the text box, but I can't change the button font.
many thanks

Kodo
04-25-2006, 01:01 PM
give an id to your button so it doesn't apply to all input elements.. and then make a css class for it with the style of
font-family=fontname;

emartel
04-26-2006, 02:14 AM
thanks. Will it still do the function of the 'Browse' button automatically then?

Kodo
04-27-2006, 09:25 AM
yes. All you are doing is modifying the font.