fixed height and width

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Locked
biliousfrog

fixed height and width

Post 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.
SideshowBob
Forum Members
Forum Members
Posts: 80
Joined: Thu Sep 13, 2007 10:50 am

Re: fixed height and width

Post 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
Locked

Return to “Layout and Design (CSS & HTML)”