« Return to Thread: Why do forms contain unstyled divs?

Re: Why do forms contain unstyled divs?

by Stefan Schmiedl :: Rate this Message:

Reply to Author | View in Thread

On Fri, 25 Apr 2008 12:09:45 -0700
"Avi Bryant" <avi@...> wrote:

> On Fri, Apr 25, 2008 at 11:50 AM, Stefan Schmiedl <s@...> wrote:
>
> >  I see that the implementors have taken steps to keep required elements
> >  out of sight. Still, both above and below my form content, div's without
> >  styles remain. Is there a specific reason for not specifying a hiding
> >  style to the wrapping div instead/additionally to hiding the contents?
>
> Different browsers do very different things when you hit enter inside
> a text input, and this is a  browser hack to ensure that the
> defaultAction callback you have provided gets executed.  IIRC,
> Internet Explorer will take the first "visible" submit button in the
> form, which is why "hidden" doesn't work.

Thanks for the clarification, Avi.

Tongue-in-cheek question: Any plans on building another web framework?

I learned to use IOWA a few years ago, probably right before you left
it for building Seaside, now I'm learning Seaside and ...

s.
_______________________________________________
seaside mailing list
seaside@...
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

 « Return to Thread: Why do forms contain unstyled divs?