I have a little website I bought a while back StLouisTravelGuide dot info The pages all display correctly in Firefox and many of the pages display correctly in IE, but certain pages are way off in IE. For example: St. Louis Travel Tips I have spent two hours fixing minor problems in the code but nothing changed the basic problem. I am out of ideas. Any thoughts? Thanks.
Check Your CSS... I Don't Think It's PHP Issue... There Is Something Wrong CSS Compatibility With Different Browsers...
Just at a glance, you could assign a width to .contentwrapper or failing that, try assigning a css style to the p tags, you have 2 I think so assign different widths etc.. Like @HungryMinds says, its a css thing and not related to php, the active forum members in the css section could probable provide you with a better solution.
PHP is server side so has no effect client side, CSS is client side and the support varies per browser, today theirs many browsers - and developers often find it hard to make a site cross-browser especially when it comes to IE. Theirfore I suggest your run your site through a validator get it validated....then consider using a reset (looking into Yahoo YUI or Eric) which should ensure the (default) settings for markup is the same for all browsers. Heres a tool which makes it easy for testing your site in IE (regardless of version) -> http://www.my-debugbar.com/wiki/IETester/HomePage And the popular http://browsershots.org/ which takes screenshots on how your site would look in specific/various browsers.