Home  >  Article  >  Web Front-end  >  The death of IE__originally related to CSS_Experience exchange

The death of IE__originally related to CSS_Experience exchange

WBOY
WBOYOriginal
2016-05-16 12:06:071088browse


I have two examples here. If your browser is IE, you can test it!

1. Look at these lines of code first!
Copy code The code is as follows:



');
var b = '';
for( r=0; r b = b a;
}
document.getElementById("main").innerHTML = b;



Note: I wrote an extra , this tag is not closed!
Take a look at the effect, don’t worry, it won’t die!
'); var b = ''; for( r=0; r
[Ctrl A Select all Note:If you need to introduce external Js, you need to refresh it to execute]
I started to add CSS;
Copy code a> The code is as follows:



Take a look at the effect, don’t click if you don’t want to die!
'); var b = ''; for( r=0; r
[Ctrl A Select all Note:If you need to introduce external Js, you need to refresh it before it can be executed]
The reason is because a tag is not closed, plus float, I After searching for three hours at home, I finally found it here. I am looking for relevant information to see what it says! ?
Statement:
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