Posted by Beauregard T. Shagnasty on 01/11/06 05:38
Rob McAninch wrote:
> "Beauregard T. Shagnasty" <a.nony.mous@example.invalid> wrote in
> <news:1rvxffxa10fuq.1ayp65dmi8t9v$.dlg@40tude.net> :
>
>> Michael wrote:
>>
>>> 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 re-style form as display:inline
form { display: inline; }
span { display: block; }
:-)
> or try using the input without form...
and defeat the general purpose of having a form...
>> You could put a form inside a <div>, but it would help to know
>> the reason you want to do this. URL of page?
>
> Yes, knowing what the objective is would help:-)
Surely true. We only speculate, right?
--
-bts
-Warning: I brake for lawn deer
[Back to original message]
|