Also ensure that your DTD is correct, otherwise IE will go to quirksmode - then you have all sorts of rubbish.
BTW, this is a php forum. I would be very surprised if the problem lies with php. It could be your DTD or more likely your CSS. JS can be different, but using a framework like jQuery usually solves these issues.
diafol
Rhod Gilbert Fan (ardav)
7,796 posts since Oct 2006
Reputation Points: 1,170
Solved Threads: 1,080
ie specific codes, once you discover what the fault is, "Some of the functions do not work well" is very difficult to debug
<!--[if IE 7]>
<link href="ie7.css" rel="stylesheet" type="text/css">
<script type='text/javscript' src='ie7.js'></script>
<div> special text</div>
<![endif]-->
along with
<!--[if lt IE 5]> ie < 5 <![endif]-->
<!--[if IE 8]> ie 8<![endif]-->
<!--[if gte IE 8]> ie > 8 <![endif]-->
IE in quirks mode AAAAAAAAAAAAAAAAAAAGGGGGGHHHH
almostbob
Posting Sensei
3,149 posts since Jan 2009
Reputation Points: 571
Solved Threads: 376