Home > Web Front-end > HTML Tutorial > About the problem that lower version browsers cannot parse html5 new tags_html/css_WEB-ITnose

About the problem that lower version browsers cannot parse html5 new tags_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:58:11
Original
1456 people have browsed it

One of my pages uses the section tag. It displays normally in IE9 and Chrome, but it does not display properly in IE8 and below browsers. I tried the method mentioned on the Internet but it didn’t work. Is there any other way to help? , Newbies


Reply to discussion (solution)

Try using createElement to create section

http://www.poluoluo. com/jzxy/201108/140439.html

Try using createElement to create a section

http://www.poluoluo.com/jzxy/201108/140439.html


I tried this method, and there was a slight change. But the display is not completely normal. It may be related to the css file. Only IE9 or above and chrome are normal

If you must support the old version of IE
No Use new tags


Try using createElement to create section

http://www.poluoluo.com/jzxy/ 201108/140439.html


I tried this method and there was a slight change. But the display is not completely normal. It may be related to the css file. Only IE9 or above and chrome are normal

Alas, no Method, CSS3 support is only in the past few years, and IE is the slowest in this regard. If you want CSS3 tags to be executed perfectly on lower version browsers, it is basically difficult.
In addition , if you just want to achieve performance effects, you can consider using js div to achieve the effect.

css:
section{display:block;}

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