Solutions to IE6 incompatible position:fixed properties

Source: Internet
Author: User

Article Introduction: incompatible position:fixed properties under IE6! Also read some information on the Internet or not!

Incompatible position:fixed properties under IE6! Also read some information on the Internet or not!

Position:fixed This attribute is really convenient to use, it can easily achieve a fixed position of the floating layer effect. However, it does not support IE6 and the following versions. So many students use JS simulation. Today, I wrote a demo that involves the left and right side. and the upper and lower sides, a total of four kinds of fixed position, unlike previous tutorials, it uses CSS expressions to be compatible with IE5, IE6, and to avoid the JS simulation, drag the scroll bar when the problem of jitter, in addition to IE5 or eccentricity mode is completely normal, there is no problem. If you have a better plan, welcome to spray me.
Here is the code





position:fixed--webjx.com



here Displays the contents of the ID "demo"

here Displays the contents of the ID "demo"

here Displays the contents of the ID "demo"

here Displays the contents of the ID "demo"



It is recommended that the code in the IE conditional annotation be placed in a separate CSS file in order to save the traffic of other browsers in actual use.

By the way top Microsoft's This project, now has the Chinese version, proposed Broad front end ER joins this ranks, as soon as perish IE6



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.