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/
[Back to original message]
|