You are here: Re: <form> inside <span>? « HTML « IT news, forums, messages
Re: <form> inside <span>?

Posted by Rob McAninch on 01/11/06 04:39

"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 or try using the input
without 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:-)


--
Rob McAninch
http://rock13.com

 

Navigation:

[Reply to this 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

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