Forum Moderators: coopster
When I view source in IE there is a "box" character at the beginning of the code. When I view source in FF it isn't displayed.
IE doesn't center the page in the browser (css rule) while this character is present in the html. I know because I copied the source into notepad and created an html file and deleted the extra character.
Any idea what might be causing this? I've been going through my php line by line and found nothing so far.
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
This stray character is NOT in the php code. However, it shows up in the source of the html returned from the server in IE ONLY. It shows up BEFORE the DTD. It is causing IE to ignore some of my CSS.
FireFox does NOT display this character in the source, and displays the page and all CSS correctly.
Check your text editors settings. Or, if the file came from elsewhere, you may need to copy and paste all the visible php contents into a new "clean" file and replace the old file.