So that means the InPlaceEditor is producing valid XHTML right?
On 11/1/05, Niels Leenheer <[EMAIL PROTECTED]> wrote: > On 10/28/05, Jay Levitt <[EMAIL PROTECTED]> wrote: > > Jon Tirsen wrote: > > The INPUT field is in a FORM field. Isn't it valid to have an INPUT > > field in a FORM tag? > > > > Apparently not - INPUT is an inline tag, and it needs to appear inside a > > block tag, which FORM doesn't count as. Yeah, I know, it's always worked > > for me, too.. :) > > INPUT is an inline element. FORM is a block element. > > Aside from this, there is simply no requirement that inline elements > must appear inside a block element. The outer element defines which > elements it can contain. So it is the other way around. > > In the case of the FORM element, it can contain any 'flow' element. > 'Flow' elements are a collection of all block and inline elements. So > the FORM element can legally contain an INPUT element. > > Niels > [EMAIL PROTECTED] > _______________________________________________ > Rails-spinoffs mailing list > [email protected] > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs > _______________________________________________ Rails-spinoffs mailing list [email protected] http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
