Home >Web Front-end >HTML Tutorial >Solution to div css webpage displaying blank in IE6??charset_html/css_WEB-ITnose
This article is reproduced from http://www.divcss5.com/jiqiao/j60.shtml
To solve the problem of blank web pages in IE6, the main problem is the setting of charset.
Common web pages display blank, and the reasons why the web page source file is complete are as follows:
1. The main reason is that the encoding of html and css source codes is different
2. The webpage encoding charset is not set
3. The charset encoding setting statement tag is placed in an incorrect position
Solve the problem that web pages developed with div css are not displayed in IE6 browsers Method:
1. Requirements: The charset=UTF-8 in the tag is consistent with the CSS encoding. The CSS placement encoding method is to put @charset "utf-8"; at the top of the CSS file. It is required that the value of charset in the css style is the same as the value of the charset tag in the html.
2. The solution for not setting the webpage encoding charset is to place the encoding declaration tag between the webpage
and , , the value of charset is customized, such as gb2312, GBK, etc.3. The solution to the incorrect placement of the charset encoding setting statement label, which means The placement position is incorrect. It should be placed between
and in the source code of the html web page, in the title above the label. The charset declaration tag of meta can be placed above the