i would assume yes, but I'm not 100% sure. Also, you have to disable web2py_ajax.html for your css to work propery.
web2py_ajax uses javascript to go through every input and change its width property, effectively overwriting your css definitions. (and not working if they have javascript disabled) -Thadeus On Thu, Oct 8, 2009 at 11:40 PM, leone <handja...@gmail.com> wrote: > > I know, but no effect. Strange. > Do you know if SQLFORM's argument onvalidation is executed before > inserting row? > > On 8 Ott, 22:51, Thadeus Burgess <thade...@thadeusb.com> wrote: > > leone, > > > > To change the size in css you have to use the width property, there is no > > "size" property in css. > > > > input #table_field { > > width: 350px; > > > > } > > > > -Thadeus > > > > > > > > On Thu, Oct 8, 2009 at 3:07 PM, leone <handja...@gmail.com> wrote: > > > > > Second question solved. > > > About input length css has no effect. > > > SQLFORM(onvalidation is executed before or after inserting row? > > > > > On 8 Ott, 17:23, Thadeus Burgess <thade...@thadeusb.com> wrote: > > > > massimo, > > > > > > On my machine locally, web2py_ajax.html seems to overwrite any length > > > > settings put into css.. > > > > > > The jQuery commands that change the length need to be either > commented > > > out > > > > or removed. > > > > > > -Thadeus > > > > > > On Thu, Oct 8, 2009 at 8:07 AM, mdipierro <mdipie...@cs.depaul.edu> > > > wrote: > > > > > > > You should set it using css. For a table "table" and a field > "field" > > > > > the id of the input field is > > > > > > > "#table_field" > > > > > > > you should be able to do something like this in the page > > > > > > > <style> > > > > > input #table_field { size: 5 } > > > > > </style> > > > > > > > On Oct 8, 8:01 am, leone <handja...@gmail.com> wrote: > > > > > > Two questions: > > > > > > 1) how can I set the length of an html input field generated by > > > > > > SQLFORM? They have all the same size. > > > > > > 2) It needs same commit() using SQLite? My submits seem to > generate > > > > > > no rows. > > > > > > > No need for commit. Do you have form.accepts(...)? Hard to tell the > > > > > problem without looking at the action. > > > > > > > > Thanks in advance. > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---