# Whats the deal with IE and max-width?

**URL:** <https://forum.kirupa.com/t/whats-the-deal-with-ie-and-max-width/210165>\
**Category:** Uncategorized\
**Created:** [December 15, 2006, 5:56pm UTC](https://forum.kirupa.com/t/whats-the-deal-with-ie-and-max-width/210165 "2006-12-15T17:56:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![fasterthanlight](https://avatars.discourse-cdn.com/v4/letter/f/ecc23a/32.png) [@fasterthanlight](https://forum.kirupa.com/u/fasterthanlight)\
**Post date:** [December 15, 2006, 5:56pm UTC](https://forum.kirupa.com/t/whats-the-deal-with-ie-and-max-width/210165/1 "2006-12-15T17:56:33Z")

</div>

Greetings good people,

Why oh why does it not like max-width?  
It pretends like its not there and rearranges my content divs when I stretch the browser window really wide.

```auto

body, html
{
    padding: 0px;
    margin: 0px;
    background: #ffffff url(images/bg.jpg) repeat-x top;
    width: 100%;
    height: 100%;
    font-family: sans-serif;
    font-size: 12px;
    color: #666666;
}

#container
{
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    min-width: 760px;
    max-width: 1100px;
    background-color: #ffffff;
}

#content
{
    position: relative;
    float: right;
    width: 520px;
}

```
