Although I have my header and footwer in the provided text files I cant them to be 100% of the screensize.
Theres always a margin around even with this margin code.
<body leftmargin="0" rightmargin="0" topmargin="0">
But if I put this code in the top of gbook.php the sizes correct themselves but I get a load of errors.
Warning: Cannot modify header information - headers already sent by (output started at /home/sites/site.co.uk/public_html/Gbook/gbook.php:2) in /home/sites/site.co.uk/public_html/Gbook/gbook.php on line 601
and so on tilll line 604.
I tried deleting these lines and the frontend looks fine. However while testing it, it just throws more errors.
Anyway to fix this at all please.
Many thanks in advance
header Footer sizes
Hi,
Deleting lines of code is usually not a good idea unless you know what you are deleting
Try this:
1. Open gbook.php in a plain text editor, like Notepad or Wordpad
2. use the search function to find <body>
3. Change that to:
Note that quotes are escaped with a \
Wrong: "
Correct: \"
4. Save, upload, test!
Regards
Deleting lines of code is usually not a good idea unless you know what you are deleting

Try this:
1. Open gbook.php in a plain text editor, like Notepad or Wordpad
2. use the search function to find <body>
3. Change that to:
Code: Select all
<body leftmargin=\"0\" rightmargin=\"0\" topmargin=\"0\">
Wrong: "
Correct: \"
4. Save, upload, test!
Regards
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools