Html scroll / size does not work correctly. IE7 at least

This is not an easy task to explain, basically, when you open my site (http://www.securebitcr.com/test/sbcr/) and resize, you can see the "extra" space at the end of the site, is there any way to limit this?

It looks like if I have a div (height: 800), but the window itself is 400 pixels in size, I can see the rest of the site, but all the other objects that I attach to the bottom (for example, footer) ... you can see all the code at once in my file.

http://www.securebitcr.com/test/sbcr/

Any help is greatly appreciated.

Thank,

Marco

+3
source share
2 answers

- , IE7, IE7 .

:

  • html, body { margin: 0; padding: 0; height: 100% }
  • body { position: relative }

, - .

+1

, #content_frame , overflow: hidden . , position: relative - , . IE8 Firefox.

+1

Source: https://habr.com/ru/post/1792125/


All Articles