What happens when you switch the class? (thanks for correcting my
widget syntax Iceberg)
form = SQLFORM.factory(Field("uptest","upload",widget=lambda
field,value,**kwargs:SQLFORM.widgets.upload.widget
(field,value,_class="dummy",**kwargs)))
On Oct 12, 8:56 am, "Michael - afewtips.com" <[email protected]>
wrote:
> No - I haven't been able to apply styles to the upload field or
> button.
>
> It looks like the class .upload is overriding the the id.
>
> On Oct 12, 9:23 am, mdipierro <[email protected]> wrote:
>
> > Do you know what i causing the problem?
>
> > On Oct 12, 7:19 am, "Michael - afewtips.com" <[email protected]>
> > wrote:
>
> > > Hi,
> > > I am applying the styles to all elements in a form successfully.
> > > No problems, except for the file upload field and button.
>
> > > The id is properly set and the class is properly set, but nothing is
> > > applied.
> > > The property get a line through it, and when I apply the style in
> > > FireBug, it doesn't get
> > > applied.
>
> > > I downloaded the latest version of Web2py this morning and still
> > > doesn't get applied.
>
> > > Thanks
> > > Michael
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---