You are here: Re: Float problem MSIE6.0 only « HTML « IT news, forums, messages
Re: Float problem MSIE6.0 only

Posted by rf on 10/24/05 05:01

Jonathan N. Little wrote:

> All seems fine except floated picture boxes fail only in
> MSIE6.0,

Floated elements must have a width. In the absense of one IE6 assumes 100%,
FF (for example) assumes the width of the widest thing inside the element
(your picture).

> The funny thing is looks fine in MSIE5.5 and 5.0!

No, not funny at all. You are running IE6 in "standard compliant" mode, so
its box model is broken in an entirely different way to IE5.x.

Temporarily take out the doctype, putting IE6 in quirks mode. It will then
behave like IE5.x (well, sort of).

--
Cheers
Richard.

 

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

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