total height of page total height of page
 

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

total height of page

Started by Teilanus, December 20, 2006, 09:57:01 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Teilanus

Hi!

I'm deeply satisfied with coppermine, but there is a little thing i would like to solve.

In some albums' pages (like this one: http://www.dreadfuldark.net/en/ddagcp/thumbnails-4.html), where there is only one thumb, the total height of page looks too short.

I now about the css property 'min-height' and I can use it in the template.html by the mean of a div. Inside that div, will be the gallery content and height (of the div) will be 400px (minimum). Sadly, that thing only works for FF and IE7.

What can I do? Any ideas?

Joachim Müller

Insert a blind gif into your div container with the width of one pixel and the height of 400 pixels, like this:
<div>
<img src="images/spacer.gif" width="1" height="400" border="0" alt="" align="left" />
</div>
This is an ancient web design trick that works well in divs as well as table-based layouts.