Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IE8 max-width not 1170 - actual 1200px #10014

Closed
christiaank opened this issue Aug 22, 2013 · 4 comments
Closed

IE8 max-width not 1170 - actual 1200px #10014

christiaank opened this issue Aug 22, 2013 · 4 comments

Comments

@christiaank
Copy link

I've noticed the IE8 content area is wider than 1170 and actually rendering as 1200px wide. This is causing us issues as a site we're working on has a static full page background image which is defining/highlighting the content (container) area, which works on all browsers except IE8.

The 'content' column width is 1170 + 30px padding giving max-width of 1200px.

eg. IE8 container row = 1200px wide, col-lg-12 = 1200px wide or col-lg-8 = 800px wide + col-lg-4 = 400px wide.

I've attached example of browsers rendering a page from the docs to show size inconsistencies below.

4751aff6-0964-11e3-82b8-2c73ea895f28

@thezoggy
Copy link

what jquery and doctype you using?

@christiaank
Copy link
Author

Latest jQuery (1.10), and HTML5 doctype - but as you can see (as per screenshot above), it's also happening on the actual Bootstrap site as well… so the issue isn't related to my particular site.

@thezoggy
Copy link

right, I was just curious because jquery recently changed how it calculated dimensions.. browsers do some funky things like rounding and taking in consideration the scroll bar..

Anyways, IE8 doesn't support max-width as well as most modern browsers.. see:

http://caniuse.com/#search=max-width
IE8 has some bugs with max-width/height combined with overflow: auto/scroll.

for more info.
http://lmgtfy.com/?q=IE8+has+some+bugs+with+max-width%2Fheight

@mdo
Copy link
Member

mdo commented Sep 3, 2013

Resolved in 0a78e79 (via #10406).

@mdo mdo closed this as completed Sep 3, 2013
@mdo mdo mentioned this issue Sep 3, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants