Posted by Rob McAninch on 01/12/06 00:17
"Beauregard T. Shagnasty" <a.nony.mous@example.invalid> wrote in
<news:5jji1k9bijcv.t2w17sg4j6ua$.dlg@40tude.net> :
> 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 [...] <form> is block-level
>>> element.
>>
>> You could re-style form as display:inline
>
> form { display: inline; }
That's the idea if you want to dispense with the span and treat
form as inline. Using form within span; you already pointed out
was invalid.
>> or try using the input without form...
>
> and defeat the general purpose of having a form...
INPUT is generally found in a form, but isn't required to be.
Depending on the op's purpose this is an option.
--
Rob McAninch
http://rock13.com
Navigation:
[Reply to this message]
|