You are here: Re: Menu list broken by form button « HTML « IT news, forums, messages
Re: Menu list broken by form button

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]


Удаленная работа для программистов  •  Как заработать на 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

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