Re: faridjame@gmail.com

From: Date: Thu, 10 May 2007 08:45:08 +0000
Subject: Re: faridjame@gmail.com
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-254712@lists.php.net to get a copy of this message
Hi, Wednesday, May 9, 2007, 11:13:50 PM, you wrote: FJ> Hello, FJ> To me this seems to be a very strange problem. FJ> I have a static html page (index.html) that shows correctly on both FF2 & FJ> IE7. FJ> I splitted the website up into different sections: (header, footer, ...). To FJ> do this I have used: FJ> -------------------------------------------------------------- FJ> <?php FJ> require("header.php"); ?>> FJ> Some code goes here... FJ> <?php FJ> require("footer.php"); ?>> FJ> -------------------------------------------------------------- FJ> .... and so on. FJ> When I test my page (now index.php), it shows perfect on Firefox, but in IE FJ> some stuff are not in their right place. I have checked the source code of FJ> both index.html and index.php and they seem both identical to me. FJ> Do you know why IE fails to correctly render the page? FJ> Thanks Could be stray carriage returns in your include files, good idea to remove any '?>" in the include files as they are not needed. -- regards, Tom

« previous php.general (#254712) next »