Page 1 of 1

fixed height and width

Posted: Thu Sep 27, 2007 12:13 pm
by biliousfrog
I'm working on a site for my father...CMSMS to the rescue again ;D...I'd like to keep the height & width a fixed size as it's going to be mostly photographs that are displayed using the flash photo viewer.

I found a thread explaining how to set the width, which works great, but I can't seem to fix the height. I can set the height of the content background but the footer moves over it depending on the content being displayed.

So, as an example, if there's a landscape photo the footer might be high up on the page leaving a bit of the content background poking out underneath...if it's a portrait, the footer might be off the bottom of the page leaving a gap between it & the content background.

The site is: paulgarrodphotography.co.uk/index.php

Other than that issue, I have the layout nearly done. Thanks in advance for any tips.

Re: fixed height and width

Posted: Fri Sep 28, 2007 12:12 pm
by SideshowBob
Hi,

You might want to try something like :

Code: Select all

div#pagewrapper{overflow:hidden}
I think you'd do better to fix the height of div#content rather than div#pagewrapper but hopefully this will get you on your way.

cheers,
Bob