Except for the IE browser, other browsers cannot recognize the html writing method_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:53:04
Original
1316 people have browsed it

When I was writing an html page recently, I found that after the top border margin-top was positioned, IE was different from other browsers, so I used a writing method to distinguish IE from other browsers

<!--[if !IE]>    <div class="clear-30"></div>这样写是错误的    <![endif]-->
Copy after login

Writing like the above is wrong. The correct writing should be like this:

<!--[if !IE]><-->    <div class="clear-30"></div>这样写才是正确的    <![endif]-->
Copy after login

This function applies to the top navigation of www.weixh.net

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