M
Michael
Am I allowed to do: <span><form ..>...</form></span> or will certain
browsers choke?
Thanks
browsers choke?
Thanks
Michael said:Am I allowed to do: <span><form ..>...</form></span> or will certain
browsers choke?
Thanks
Michael said:Am I allowed to do: <span><form ..>...</form></span> or will certain
browsers choke?
<span> is an inline element and can only contain .. well ..
inline things. <form> is block-level element.
You could put a form inside a <div>, but it would help to know
the reason you want to do this. URL of page?
You could re-style form as display:inline
or try using the input
without form...
Yes, knowing what the objective is would help
Rob said:You could re-style form as display:inline
or try using the input without form...
Yes, knowing what the objective is would help
Beauregard said:form { display: inline; }
span { display: block; }
[...] Rob McAninch <[email protected]> spouted in alt.html:
[snip]
or try using the input without form...
Also not valid.
Toby said:Which won't make it any more valid.
It would be valid.
It might be pointless,
Rob said:in said:Michael wrote:
Am I allowed to do: <span><form ..>...</form></span> or
will certain browsers choke?
<span> is an inline element [...] <form> is block-level
element.
You could re-style form as display:inline
form { display: inline; }
and defeat the general purpose of having a form...
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.