DIV+CSS Web page displays blank in browser but source code complete solution

Source: Internet
Author: User
Tags html page

Especially in the Microsoft IE6 version open DIV+CSS developed Web page, the browser does not show white space, do not show anything, but view the source code results page code is complete. You are experiencing this problem when you are developing a test page!

Common Web page display blank, Web page source file complete reason is as follows:

1, the main reason is that HTML and CSS source code is different from the coding caused

2, did not set the page code charset

3, CharSet encoding settings statement label placement is not correct

Introduction to Solutions for DIV+CSS development of Web pages not shown in IE6 browsers

1, the requirements of the label Charset=utf-8 "and CSS coding, in the CSS placement coding method for the top of the CSS file in the @charset" Utf-8 ", you can, the CSS style charset values and HTML charset tag values.

2, there is no way to set the Web page encoding charset solution, in the page and between the placement of the Code declaration label, charset value from the set, such as GB2312,GBK

3, CharSet code set to declare the location of the label placement is not correct, meaning that the placement is not correct, should be placed in the HTML page source code and between the and in the title tag, examples such as figure

The Meta CharSet declaration tag is placed in the

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.