|
-
Jan 14th, 2005, 02:29 PM
#1
Thread Starter
Member
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?
Thanks
Dave
-
Jan 15th, 2005, 04:19 PM
#2
Fanatic Member
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
Never argue with fools, they will only drag you down to their level, and beat you with experience.
Q: How do you tell an experienced hacker from a novice?
A: The latter thinks there's 1000 bytes in a kilobyte, while the former is sure there's 1024 meters in a kilometer
-
Jan 16th, 2005, 11:41 PM
#3
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?
-
Jan 17th, 2005, 08:23 AM
#4
Thread Starter
Member
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|