forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorsten Scherler <thors...@apache.org>
Subject Re: [jira] Created: (FOR-525) Making views XHTML compliant
Date Tue, 07 Jun 2005 19:10:27 GMT
On Tue, 2005-06-07 at 10:28 -0700, Diwaker Gupta wrote:
> > > o input tags are not allowed as direct sub-children of <form> (searchbox
contract)
> > 
> > Hmm, I will have a look on that after work, but that sounds weird.
> > <form>
> >  <div><input/></div>
> > </form>
> > is ok but
> > 
> > <form>
> >  <input/>
> > </form>
> > 
> > not? Really weird.
> 
> Yes. See:
> http://www.zvon.org/xxl/xhtmlReference/Output/Strict/el_form.html
> 
> Basically the input elements have to be encapsulated in some block
> level element like a <p> or a <div> or something
> 
> 

Wow cheers for the link. I did not know.

> > I had a quick look on your patch.
> > You did:
> > -                <form class="roundtopsmall" method="get"
> > action="http://www.google.com/search">
> > +                <form method="get" action="http://www.google.com/search">
> > 
> > did you try then with a direct input son?
> 
> I lost you here. "direct input son"? I removed the "roundtopsmall"
> class attribute from the form because IMHO it is not needed now that
> all individual elements have their class attributes.
> 

I am totally fine with that I just did not looked up the reference.
Sorry for confusion.

I will apply that patch.

salu2
-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)


Mime
View raw message