Static height on my cmsms site

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
geirhn

Static height on my cmsms site

Post 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
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm

Re: Static height on my cmsms site

Post 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.
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm

Re: Static height on my cmsms site

Post by tsw »

oh, and overflow:hidden;
geirhn

Re: Static height on my cmsms site

Post 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)
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm

Re: Static height on my cmsms site

Post by tsw »

ugh

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

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