Reply to Re: Menu list broken by form button

Your name:

Reply:


Posted by Jonathan N. Little on 07/11/07 12:24

Neredbojias wrote:
> Well bust mah britches and call me cheeky, on Wed, 11 Jul 2007 05:30:45
> GMT Jukka K. Korpela scribed:
>
>> A form is a block-level element by default. Thus, it will be rendered
>> with line breaks before and after. You could prevent this with
>>
>> form { display: inline; }
>
> One thing I'm not clear on. If that technique is utilized, can one still
> include a block-level <div> (for instance) within the form?
>

My understand a block level element must be between the form and the
form input elements

<!ELEMENT FORM - - (%block;|SCRIPT)+ -(FORM) -- interactive form -->

so you would need to add to the rule

form, form * { display: inline; }

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

[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

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