You are here: Re: Max-Width property in IE 6 « HTML « IT news, forums, messages
Re: Max-Width property in IE 6

Posted by Stephen Poley on 10/14/06 15:01

On Sat, 14 Oct 2006 14:49:09 +0100, patrick j
<patrick@jamesnews.orangehome.co.uk> wrote:

>Okay so all is well with the world until you open the web-page in IE 6. Now
>you will see that max-width, margin-left, margin-right properties have been
>ignored and the article text is simply filling the browser window and
>wrapping against the right of the window no matter how wide that window is.
>My question obviously is can the max-width property be made to work in IE 6
>such that Dorayme's web-page will work in IE 6 as it does in every other
>browser I've tried?

There is a horrible IE kludge which can be made to work in reasonably
simple pages: http://www.svendtofte.com/code/max_width_in_ie/

Incidentally don't size the column in pixels as the example you took
did. Use ems as this page shows.

I suggest you put it in a separate stylesheet which is only linked for
IE using IE conditional comments.

--
Stephen Poley

http://www.xs4all.nl/~sbpoley/webmatters/

 

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

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