Title: fixed width in FF &#8211; variable in IE
Last modified: August 19, 2016

---

# fixed width in FF – variable in IE

 *  Resolved [fdr2](https://wordpress.org/support/users/fdr2/)
 * (@fdr2)
 * [18 years ago](https://wordpress.org/support/topic/fixed-width-in-ff-variable-in-ie/)
 * Hi there. I inserted the following line in my css stylesheet, in order to set
   a minimum width for the whole blog. it works, but only in Firefox. (see [here](http://saravi.info)).
   How is it possible to make this happen also in IE?
 *     ```
       body {
        min-width: 900px;
       }
       ```
   

Viewing 7 replies - 1 through 7 (of 7 total)

 *  [ivovic](https://wordpress.org/support/users/ivovic/)
 * (@ivovic)
 * [18 years ago](https://wordpress.org/support/topic/fixed-width-in-ff-variable-in-ie/#post-766898)
 * it works the same in IE7… just not IE6 and earlier.
 * but, that doesn’t create a fixed width, it just stops further compression if 
   the window is made too small.
 *  Thread Starter [fdr2](https://wordpress.org/support/users/fdr2/)
 * (@fdr2)
 * [18 years ago](https://wordpress.org/support/topic/fixed-width-in-ff-variable-in-ie/#post-766915)
 * right, smaller than 900px, that’s what i want. so is there any thing i could 
   do to make IE6 and earlier versions behave the same way?
 * thanks for the reply btw;)
 *  [jonimueller](https://wordpress.org/support/users/jonimueller/)
 * (@jonimueller)
 * [18 years ago](https://wordpress.org/support/topic/fixed-width-in-ff-variable-in-ie/#post-766924)
 * See this discussion. Your CSS will not validate using this hack, so if that’s
   important to you… Most of the time I care, but sometimes, you gotta do what you
   gotta do, you know. So this is bookmarked in my IE Hacks folder. 🙂
    [http://www.boagworld.com/forum/comments.php?DiscussionID=185#Item_4](http://www.boagworld.com/forum/comments.php?DiscussionID=185#Item_4)
 *  [ivovic](https://wordpress.org/support/users/ivovic/)
 * (@ivovic)
 * [18 years ago](https://wordpress.org/support/topic/fixed-width-in-ff-variable-in-ie/#post-766992)
 * It’s a shame so many people still use IE6 – if IE defaulted to upgrading itself
   like FF does, this wouldn’t be a problem anymore.
 * of course, if IE did anything by itself, it would be a sign of the apocalypse
   and microsoft would be sued over it, or something.
 *  [jonimueller](https://wordpress.org/support/users/jonimueller/)
 * (@jonimueller)
 * [18 years ago](https://wordpress.org/support/topic/fixed-width-in-ff-variable-in-ie/#post-766996)
 * Tell me about it. I’m sitting here at work, in a law firm that is one of the 
   top ten largest in our country, using a rickety-a$$ old version of IE6. (And 
   of course no YouTube, no Twitter, no Facebook, no GMail, no Yahoo, no nothing.
   I guess they want us working, huh?)
 *  [ivovic](https://wordpress.org/support/users/ivovic/)
 * (@ivovic)
 * [18 years ago](https://wordpress.org/support/topic/fixed-width-in-ff-variable-in-ie/#post-766999)
 * how absolutely unreasonable of them 🙂
 *  Thread Starter [fdr2](https://wordpress.org/support/users/fdr2/)
 * (@fdr2)
 * [18 years ago](https://wordpress.org/support/topic/fixed-width-in-ff-variable-in-ie/#post-767215)
 * Joni, you are a life saver!
    although, i couldn’t get it working, this is the
   piece of code i added to css, which i guess is not right, would you be kind enough
   to correct it? Thanks!
 *     ```
       * html body{
       width: expression(document.body.clientWidth <880 ? "880px");
       }
       ```
   

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘fixed width in FF – variable in IE’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 7 replies
 * 3 participants
 * Last reply from: [fdr2](https://wordpress.org/support/users/fdr2/)
 * Last activity: [18 years ago](https://wordpress.org/support/topic/fixed-width-in-ff-variable-in-ie/#post-767215)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
