Title: Post Fixed Height
Last modified: August 19, 2016

---

# Post Fixed Height

 *  Resolved [davidhildreth](https://wordpress.org/support/users/davidhildreth/)
 * (@davidhildreth)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/post-fixed-height/)
 * 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](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](https://wordpress.org/support/users/drewactual/)
 * (@drewactual)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/post-fixed-height/#post-718072)
 * 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](https://wordpress.org/support/users/davidhildreth/)
 * (@davidhildreth)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/post-fixed-height/#post-718080)
 * 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.

## Tags

 * [fixed height](https://wordpress.org/support/topic-tag/fixed-height/)
 * [fixed width](https://wordpress.org/support/topic-tag/fixed-width/)
 * [iframe](https://wordpress.org/support/topic-tag/iframe/)

 * 2 replies
 * 2 participants
 * Last reply from: [davidhildreth](https://wordpress.org/support/users/davidhildreth/)
 * Last activity: [18 years, 2 months ago](https://wordpress.org/support/topic/post-fixed-height/#post-718080)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
