|
Posted by Neredbojias on 07/11/07 18:13
Well bust mah britches and call me cheeky, on Wed, 11 Jul 2007 09:15:32
GMT Ben C scribed:
>>> 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?
>
> You can, but it will result in "line-breaks", or more technically
> anonymous blocks around the inline things either side of the
> block-level div.
>
> Try it, and it will be obvious what I'm talking about.
I think I see what you're saying - but will try it, anyway, to, uh, see
better.
> Now if you made form { display: inline-block; } on the other hand,
> then in a browser that supported that, the form could contain a
> block-level div but still share a line with its inline siblings.
Yes. I've tested that extensively in Opera, where it works great.
Unfortunately, it doesn't work in Firefox or ie6. Someone said it worked
in ie7, but until Mozilla gets on the stick, I see no point in pursuing the
issue.
--
Neredbojias
A self-made man who worships his creator
Navigation:
[Reply to this message]
|