total height of page total height of page
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

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.