• Resolved davidhildreth

    (@davidhildreth)


    I’m looking to edit a theme so that my page has a fixed height and width.
    The width is no problem, but I’m not real sure how to go about making the height fixed.

    http://www.studiod9.dreamhosters.com

    What is the easiest way to get get my content to fit (with a scroll bar) inside the white box behind it? Do I really have to result to some sort of iframe?

Viewing 2 replies - 1 through 2 (of 2 total)
  • drewactual

    (@drewactual)

    not digging too deep into your css, the general idea will be to add three elements into your #content…

    add to it:

    height: 400px; /* or play for suitable height*/

    max-width: 400px; /* Important!! otherwise you will get horizontal scroll bars, this should be the width you want + padding and margin- again, play for suitable sizing*/

    overflow: scroll; /*you can also use auto in place of scroll, matter of fact, auto may not give you a horizontal scroll by default as it does in some browsers.*/

    add it and see what happens, get back to us if it doesn’t do the trick!

    Thread Starter davidhildreth

    (@davidhildreth)

    I just needed a shove in the right direction, I think i got it.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Post Fixed Height’ is closed to new replies.