Re: Is is possible to set the width of the textbox in the upload component?

Allan Beaufour <[email protected]>
Newsgroups gmane.comp.mozilla.devel.xml
Message-ID <[email protected]>
On Friday October 14 2005 15:22, Adam FLinton wrote:
> Nah it doesn't work. The size of the entire control grows (invisibly).
>
> e.g.
>
> input
> {
> width: 1000px;
> }
>
> or as 100% or whatever just adds invisible space but the size of the
> text box itself doesn't change.

I do not know if you've noticed but with Firefox 1.5 rc1 and the xforms.xpi, 
you can now style the upload control with f.x.:
xf|upload input {
      background-color: red;
      width: 400px;
    }

It should be "xf|upload::value", but in lack of pseudo element support we will 
support "xf|upload .xf-value" in the next release.

-- 
Allan Beaufour
Linux Software Engineer

Novell, Inc.
Software for the Open Enterprise
www.novell.com/open
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.