Page 1 of 1

Static height on my cmsms site

Posted: Fri Nov 10, 2006 3:38 pm
by geirhn
Hi!

Im a newbie just customizing the default template - Is it possible to set the height static in stead of relative?
Its the content/main part of the site I will do static. I will try to create the illusion of a box.

Cant find any code that let me do that.

Any tips for you

Re: Static height on my cmsms site

Posted: Fri Nov 10, 2006 4:20 pm
by tsw
if I remember the css classes correctly its

div#main {
height:500px;
width:500px;
}

just search your css styles for #main styles and add a height.

Re: Static height on my cmsms site

Posted: Fri Nov 10, 2006 4:21 pm
by tsw
oh, and overflow:hidden;

Re: Static height on my cmsms site

Posted: Fri Nov 10, 2006 6:32 pm
by geirhn
...and how do i integrate scrollbars in the main content area, if text is higher than the static height? (sorry for the poor terminology, im a newbie both to css and cms)

Re: Static height on my cmsms site

Posted: Fri Nov 10, 2006 6:52 pm
by tsw
ugh

I should think before I type. use overflow:auto;