...

View Full Version : HELP! - I get space on top when I try to include



shedokan
10-30-2007, 12:59 AM
when I try to include footer.phtml and header.phtml I get a space on top in the index page:
http://neostar.110mb.com/index.phtml
all the files are in the same directory.
please help.

mlseim
10-30-2007, 03:06 AM
Not sure if the part in red is the problem or not:

<table cellpadding="0" cellspacing="0" width="705" heght="100%">

height

shedokan
10-30-2007, 09:12 PM
I fixed all the errors but it still have a space n top

mlseim
10-30-2007, 10:01 PM
Holy Cow!! ... this took me forever to find.

I guess it's because I don't look at this spot ...

<html>
<head>

Get rid of the stuff marked in red at the very top of your HTML code.

jlhaslip
10-30-2007, 10:27 PM
Those are 'BOM' markers. Byte Order Markers.
Using a good Text Editor, save the file as 'utf-8 without bom' to remove those items.

shedokan
10-30-2007, 11:48 PM
and where I can find a "good" editor?

shedokan
10-31-2007, 12:26 AM
thanks for both of you I did a little search and found a good editor that automaticly deletes BOM so thanks!



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum