Agreed. If you can achieve the desired effect with CSS it should be the first choice. My examples should only be used if you need to modify attributes.
On Nov 24, 9:33 pm, Thadeus Burgess <thade...@thadeusb.com> wrote: > CSS will always be the best route for this, since you are "designing" your > forms. Leave the styling of your site to CSS, and the programming to web2py > :) > > The other benefit of this is, if you want to update the way your site looks, > instead of having to edit lines of code, you just replace your CSS files. > > -Thadeus > > On Tue, Nov 24, 2009 at 9:30 PM, mr.freeze <nat...@freezable.com> wrote: > > nally don't agree with using javascript to set properties like > > that. I remove these lines from web2py_ajax. > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---