Removing empty space between Gallery & Coppermine credits Removing empty space between Gallery & Coppermine credits
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Removing empty space between Gallery & Coppermine credits

Started by Hercules24, April 22, 2007, 11:51:56 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Hercules24

I like to remove the space between the album list and the coppermine credits so more content fits into a page without having to scroll.
I have a picture to show what I mean.

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fi11.tinypic.com%2F4ghz5sg.gif&hash=0b8cc6e57c8a05bce2f1282cfd615bb0f55be01c)

I tried to add 'display inline' to the footer in CSS but that resulted in not only removing the space, but always displaying the Coppermine credits fully to the left.
Text align center had no effect on that either.
Setting the line space to 50% helped a bit, but still left me with a line of useless space.
Is there a way to solve this matter?

Nibbler

Simplest way is to add this


.footer {
    margin-top: -20px;
}


If you want a better way then you need to nullify the top padding on the footer and the spacer img and <br /> at the end of the album list template.

Hercules24

Thanks Nibbler.
I settled for this CSS code:
.footer {
        font-size: 10px;
        margin-top: -13px;
        line-height: 85%;
}


Result can be viewed here: http://www.kuikens.com/pictures/

Problem solved