forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diwaker Gupta <diwakergu...@gmail.com>
Subject Re: [jira] Created: (FOR-525) Making views XHTML compliant
Date Tue, 07 Jun 2005 17:28:04 GMT
> > 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


> 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.

-- 
Diwaker Gupta
http://resolute.ucsd.edu/diwaker

Mime
View raw message