Home > Web Front-end > HTML Tutorial > IE7 incompatibility problem_html/css_WEB-ITnose

IE7 incompatibility problem_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:53:22
Original
990 people have browsed it

Please help me find out why the page is blank when opened in IE7. IE8 and above are fine
http://pan.baidu.com/s/1jGHvrNo


Reply to discussion (solution)

http://bbs.csdn.net/topics/390941344 There are still 100 points here, all yours

html, body{    height:100%}
Copy after login

In addition,
I need to resize the window after I next click ie7 and then re-render the page

http://pan.baidu.com/s /1c0ALW6s

It seems to be OK. What is the reason?

Let me explain the reason

Under the IE7 version, even if the DOM below is set to height: 100%, it cannot be opened because the tested container height cannot be found.
You have to add height to the html and body, specify their height, and then the step will have an object that can be tested

For the part that slides to the left, I only need to add height. I know that the IE version is very unusual in the management of the box model?
Avoid using native (html, head, body) methods to do it
I have a container. Make a sliding container

Let me explain the reason

In the IE7 version, even if the height of the DOM is set to 100%, it will not work. Can't find the container height to be tested and how to check?
You have to add height to the html and body and specify their heights so that the step can have objects that can be tested

For the left swipe part, I just noticed that the IE version is very unusual in the box model management.
Avoid using native (html, head, body) methods to do it
??I have? You add a container to make a sliding container


Well, I saw it, thank you very much
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template