CSS implements code that is compatible with the code of div suspended on the webpage side of all browsers. cssdiv

Source: Internet
Author: User

CSS implements code that is compatible with the code of div suspended on the webpage side of all browsers. cssdiv

The Code implemented by CSS is compatible with the code of div suspended on the webpage side of all browsers:
CSS provides the position: fixed attribute to implement this function, especially in the customer service system or announcement system, which is not supported by the IE 6 browser, although IE6 has fewer and fewer users, after all, there are still users who are using it, so it is best to achieve compatibility. Below is a code example that can be compatible with all browsers, hope to help friends in need.
The Code is as follows:

 

<! DOCTYPE html> 

 

The above Code meets our requirements, enables div blocks to be suspended on the webpage side, and is compatible with all browsers.
Related reading:
1. For details about the position attribute, refer to position attribute 1 of CSS.
2. <! -- [If lte IE 6]> See <! -- [If lte IE 6]> <! [Endif] --> function 1.

The original address is: http://www.softwhy.com/forum.php? Mod = viewthread & tid = 11581.

For more information, see: http://www.softwhy.com/divcss/

 

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.