return DIV.xml(self) + TABLE(TR(TD(self.errors[name], _class='error'
                    , errors=None, _id='%s__error' % name))).xml()

and in the css file:

td.error { min-width: ... }

I also tried with SPAN (much better effect IMHO), but (of course) IE
didn't make the right alignment (in contrast to Opera, FF, Safari,
Konqueror).


On Apr 3, 7:11 pm, Yarko Tymciurak <yark...@gmail.com> wrote:
> On Fri, Apr 3, 2009 at 10:36 AM, Vidul Petrov <vidul.r...@gmail.com> wrote:
>
> > Finally managed to change the error messages format -
> > file: "gluon/html.py"
> > class:INPUT
> > method: xml
>
> which uses  div.errors, so were you able to change format in
> static/style.css?
> Or did you do something else?
>
> Just wondering...
>
>
>
>
>
> > On Apr 3, 5:33 pm, Vidul Petrov <vidul.r...@gmail.com> wrote:
> > > Hi,
>
> > > I cannot find a way to resize the error message, the recaptcha is
> > > 500px and the other input fields are only 210px, so the error message
> > > becomes 500px and I want it to be 210px for all but recaptcha. Any
> > > ideas?
>
> > > Thank you.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to