On the Asp.net page, the couplet advertisement does not scroll.

Source: Internet
Author: User

 

After adding a couplet advertisement to the page, I found that the page was not rolled and it was very depressing. It turned out to be <! Doctype HTML public "-// W3C // dtd html 4.01 transitional // en ""Http://www.w3.org/TR/html4/loose.dtd"> This sentence does not scroll, but if it is removed, it is a disaster for websites developed with Div + CSS. To find another solution, it should be in Js.CodeDoes not comply with W3C standards. After finding the information, I learned that document.bodyis not in line with the standard and changed it to document.doc umentelement. The problem was finally solved perfectly.

 

 

 

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.