Some problems of CSS appearing overflow

Source: Internet
Author: User

Overflow, is there a problem? Why should we use caution? Because sometimes it can cause problems ...

With regard to Overflow:auto, many people are greedy for his easy writing, which is used to clear the float directly. But Firefox uses Overflow:auto to generate focus, citing comments from netizens Fireyy

I think this is a "usability and affinity" (usability/accessibility) setting for the FF browser, when the Overflow:auto or overflow:scroll elements are not fully displayed (the scroll bar appears). For keyboard users, you can focus to that element, using the keyboard's arrow keys to control the local scrolling.

What's the problem with clearing the float with respect to Overflow:auto? When you mouse is broken, use the keyboard to press the TAB key to the Internet to see the new mouse will be found, press the N+n tab can not reach the link, because the overflow:auto too much. XD think about why foreigners write such a complicated clearfix, do they have less research than us?

What about Overflow:hidden? Originally it is no problem drops, but our great m$ do not like it, as early as in 04 Popo found Overflow:hidden will lead to the failure of the key.

If you define a nested block element, such as

Overflow overflow style, in this block, the middle mouse button will be invalidated, this is mainly in IE, Mozilla/firefox/opera universal use of custom mouse guesture, so there is no such problem or not at all. For example, when using IE to browse the plod, in the middle of the content part of the mouse button (assuming that your mouse has a middle key), the scroll up and down the arrow did not appear bar ...

The function of the middle key is estimated to use less, generally appear the page of N+n screen, will use the key to quickly pull, for example, with IE6 Open 163 (Do not know to change the ^ ^) try, although the IE6 in that not cute Four corners look more ugly, but also can not because it looks like there are problems to remove it, even if you are careless. Because someone really will use, last time with a friend to do the forum has discussed this question, is the ordinary Netizen mentions. If cause other people think the key is bad can not be good ^ ^. By the way, you boldly use, because I installed Logitech's Mouse drive, the key function has been updated, even if IE is also the problem of rice. And by the way, Firefox's middle-button that map can be customized. Xd

These small problems may not seem to affect you very much, indeed, it has little impact, but what is the meaning of Web standards itself?

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.