|
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]
|