Why this layout has scrollbars in IE only?

By : TruMan1
Source: Stackoverflow.com
Question!

I have a layout that works fine in Chrome, but the main content area is giving scrollbars when it should be a 100%. Can this be corrected in IE?

The main content area is black in this layout: http://jsfiddle.net/mp8nr/34/

By : TruMan1


Answers
You can hide the scrollbars or make them show/hide automatically:

CSS:

html, body {
  overflow: auto;
}

That will sort your problem.

By : jackJoe


use #wrap {height:300px;} in pixel or #wrap {height:50%;}

By : cgvector


Sounds like you shouldn't need to just turn scroll bars off -

poss check use of the margins in the CSS.



This video can help you solving your question :)
By: admin