Rectangle 27 0

html Container overflow, fine in Chrome, weird in IE FF?


-webkit-box-sizing: border-box; /* content-box */
-moz-box-sizing: border-box;
box-sizing: border-box;

Usually if something like this happens if IE / FF, then it has to do with the box model bug. Just add

overflow:hidden; clips the content. However, if the contents don't fit the screen, there will be a scrolling of course. Overflow just clips the contents according to the container dimensions. Just try it and you'll see it works. I just tested on firefox (mac).

Note