...

View Full Version : input type file with firefox



gwendaal
10-13-2004, 05:58 AM
how can you give a width to an input type file for firefox ??

nothing works !

width:200px;
width:50%;

it works fine with IE

thank you

gohankid77
10-13-2004, 06:03 AM
Apparently, you aren't supposed to do this! It doesn't work in Firefox, Mozilla, or Netscape. Must be another IE bug...

gwendaal
10-13-2004, 08:06 AM
a bug ??
it is not a bug in IE ..with IE you get the size you want

then the width for input type file isn't yet supported by Mozilla ?

hemebond
10-13-2004, 08:32 AM
It works just like any other text box
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
<title>45980</title>
</head>
<body>
<form>
<fieldset>
<input type="file" size="5">
</fieldset>
</form>
</body>
</html>

gwendaal
10-13-2004, 09:53 AM
but without size ? you cannot apply a CSS style ? ,, as you said : just like any other text box



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum