PDA

View Full Version : removing extra space at bottom of page


jojo
30th of May 2005 (Mon), 21:22
At the bottom of my main exhibition page, there are a lot of extra blank lines. This causes the page to have a scroll bar when one is not needed. When I view the source, I see a lot of extra (and empty) paragraph tags at the bottom of the page. How do I remove these extra tags?

Ewan
1st of June 2005 (Wed), 01:51
I can't remember how it was done, but I found the answer a while ago in this forum somewhere. Have a search for it.

Ewan
1st of June 2005 (Wed), 01:56
Found it:

http://photography-on-the.net/forum/showthread.php?t=42623

jojo
1st of June 2005 (Wed), 07:25
Thanks for the link. I tried both methods (changing the number and removing the code), but that didn't solve the problem. I'm still left with a lot of extra space there. I was editing 1.php since I'm using index page style #1.

Since that didn't work, on a whim I took a look at the file groupindex.php. It had a similar piece of code, and when I changed the 25 to 1 in that file, my problem was solved. Can anyone think of any problems I might cause myself by making this change to groupindex.php?

Thanks again for the link.

jeronimo
1st of June 2005 (Wed), 08:52
Thanks for the link. I tried both methods (changing the number and removing the code), but that didn't solve the problem. I'm still left with a lot of extra space there. I was editing 1.php since I'm using index page style #1.

Since that didn't work, on a whim I took a look at the file groupindex.php. It had a similar piece of code, and when I changed the 25 to 1 in that file, my problem was solved. Can anyone think of any problems I might cause myself by making this change to groupindex.php?

Thanks again for the link.

Try some of the other's as wel. #1 is probably not the right one.
After changing the part in one of them, simply select and copy it to the other ones.

jojo
1st of June 2005 (Wed), 14:51
Try some of the other's as wel. #1 is probably not the right one.
After changing the part in one of them, simply select and copy it to the other ones.

Just in case there is any confusion . . .

The page I was originally asking for help with was my main top-level Exhibitions Index page - the page you get to if you click the Exhibitions Index link at the top of an EE webpage. Modifying groupindex.php seems to have solved this problem.

It seems that 1.php, 2.php.,3.php, etc. only make a difference once you move into an exhibition. When I modify the code for 1.php (the index page style I am using), that removes blank space at the bottom of the next page - the one that displays the galleries contained in this exhibition.

So it sounds like I have to modify groupindex.php to solve my original problem. 1.php takes care of what would have been my next question. :-)