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

Nik

New member
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.
 
Back
Top