Hi, Irina

        Sorry, I misunderstood the problem (that's what happens when we read 
too fast :-(
        I've found something about styling input="file" on 
http://www.quirksmode.org/dom/inputfile.html.

        I don't know the quality of the solution (I could not test it yet), but 
it worths the try.

        Good luck!
        Angela

-----Message d'origine-----
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la
part de Irina Ahrens
Envoyé : jeudi 10 février 2005 13:14
À : wsg@webstandardsgroup.org
Objet : Re: [WSG] Is there any way to set the width of a file input
field in Firefox?


Angela,

Your suggestion is for input type="text". It does not work for input
type="file". See shots attached produced by the following style:

div#Attachment {width: 600px;background-color:yellow;border: 1px solid black;}
#txtAttachment {width:400px;background-color:red;text-align: right;}

Cheers, Irina.

On Fri, 4 Feb 2005 10:44:32 +0100, Ricci Angela
<[EMAIL PROTECTED]> wrote:
> 
>         Terrence
> 
>         All you need to do is to give an id to the form field and define its 
> width on the CSS. It will work for all browers.
> 
>         <input type="text" id="ffield" />
> 
>         CSS: #ffield {width: 100px;}
> 
>         Cheers!
>         Ge RICCI
> 
> -----Message d'origine-----
> De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la
> part de Terrence Wood
> Envoyé : vendredi 4 février 2005 10:27
> À : wsg@webstandardsgroup.org
> Objet : Re: [WSG] Is there any way to set the width of a file input
> field in Firefox?
> 
> Styling file input is inconsistent cross browser and platform.... here
> is a work around:
> 
> http://www.quirksmode.org/dom/inputfile.html
> 
> Terrence Wood.
> 
> Irina Ahrens wrote:
> > Hello,
> >
> > Does anybody knows how to set the width of a file input field in Firefox?
> ******************************************************
> The discussion list for  http://webstandardsgroup.org/
> 
>  See http://webstandardsgroup.org/mail/guidelines.cfm
>  for some hints on posting to the list & getting help
> ******************************************************
> 
> ******************************************************
> The discussion list for  http://webstandardsgroup.org/
> 
>  See http://webstandardsgroup.org/mail/guidelines.cfm
>  for some hints on posting to the list & getting help
> ******************************************************
> 
>
******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************

Reply via email to