Internet explorer 8 problem? CSS / PHP solution needed thanks.?

Question by Nik: Internet explorer 8 problem? CSS / PHP solution needed thanks.?
In Fire Fox I can use (min-width:940px;) but IE seems to ignore this including IE 8.
I found the following code which appears to work, at first.

(width:expression(document.body.clientWidth < 940? "940px": "auto" );) The problem I have found with this is if the visitor was to shorten the web browser window and then maximize it again my website disappears and i'm left with a black, blank screen. Although if you were to reload the web page it reappears. But the problem remains. So is there an alternate way for css to get the min-width code working for IE 7 upwards. Alternatively is there a code in PHP which can detect the clients browser being maximized and refresh the page automatically. I don't want to use JS as it can be turned of PHP can't. Thanks for any help. Best answer:

Answer by Mr. Caveman
IE Bugs:

IE’s Conditional Comments:

Choosing Dimensions for Your Web Page Layout:

In Search of the Holy Grail:
How to create flexible sites quickly using standards like CSS and XHTML:

Care With Font Size:

Why Validate?:
CSS Validator:
HTML Validator:
But it Doesn’t Validate :


Give your answer to this question below!


There are no revisions for this post.

Tags: , , , , , ,

No comments yet.

Leave a Reply