Extra White space on a webpage being created
Hello,
I am having a problem with a PHP script that I am wrting. The script basically reads values from a text file and then displays these values in a table. For some reason, everytime the table is created, there is a huge gap of white space above the table. The more rows the table has, the bigger the gap of white space is. Can someone tell me why this is happening and how I can stop it?
:eek2:
Thanks
Dave
Re: Extra White space on a webpage being created
No, not really. Not without seeing any code...
Simplify the problem as much as you can and then post the code here
Re: Extra White space on a webpage being created
Most likely because before you're saving or submitting the page, you're replacing newlines with <BR>s?
Re: Extra White space on a webpage being created
Hi Guys,
Thanks for your replies. I took a quick look through my code and just like you said Mendhak, there was a <br> that I had left over from testing before I started putting the data into table form. I removed the <BR> and now everything is working great.
Thanks :thumb: