How to solve the missing cursor bug in the Firefox2 input box _ Experience Exchange

Source: Internet
Author: User
Although fortunately Firefox3 in the resolution of this bug, but Firefox3 still in the beta phase, replace Firefox2 still need some time, the following to carefully say this question:

First, the style is {position:absolute;} The form input box in the container is similar in style to {Overflow:auto;} Loss of cursor in the container area
You can learn the most common cases by example Saturday.

If you want the whole body to appear to lose the cursor, you can set the HTML and body two containers, see the example. The overflow attributes that can cause the bug, including examples of overflow:auto, are common:

Overflow:auto
Overflow-x:auto;
Overflow-y:auto;
Overflow:scroll;
Overflow-x:scroll;
Overflow-y:scroll;
Overflow-x:hidden;
Overflow-y:hidden;
In addition to avoiding other solutions that use the overflow property:

Use Overflow:hidden instead of the Oveflow attribute that produces the bug
To add position:relative to a container with the overflow attribute above, see the example.
Add the same Oveflow attribute to the Positon:absolute container, and note the order in which the page appears, see example Four
Select the appropriate label for the container using the Oveflow attribute that can produce the bug, such as fieldset, see example Six.
Second, the style is {position:absolute;} The form input box in the container loses the cursor in the IFRAME container area
It is possible to understand this situation by example Qi. IE6 in order to solve the drop-down list of high-level issues, often need to use an IFRAME to cover it, occasionally inadvertently forget to do browser qualification can cause the above problems.

Now it seems that Firefox2 to the IFRAME processing bugs, such as the previous discovery of the Firefox back when the iframe display bug.
  • 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.