Reply to Re: <form> inside <span>?

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация