The accumulation of CSS knowledge from normal work---continuous replenishment

Source: Internet
Author: User

① Modern Browser, element by default, the bottom will be blank, then where does this space come from?

Doubts:

Method-one: Poke the answers from the know

Method-two: Extended read what is vertical align?

② in Chrome, for the mouse to move in input, textarea, the browser will give them a default border, how to remove it

{    outline: none;      }

③CSS control does not overflow, does not break the line, the overflow part is denoted by the ellipsis

White-space:nowrap;text-overflow:ellipsis;overflow:hidden;

④background-position-y is ineffective under FF, and the solution is to specify X and Y at the same time, for example

background-position:0px 0px;

⑤CSS Layout Chapter

CSS Layout Kinky Tricks--width adaptive

CSS Layout Kinky tricks--highly adaptive

CSS Layout Kinky tricks--various centering

⑥ie8 the solution of RGBA

Background:rgba (255, 255, 255, 0.7);                Background: #fff \9;                *background: #fff;                Filter:alpha (opacity=70);                -ms-filter: "Progid:DXImageTransform.Microsoft.Alpha (opacity=70)";

    

The accumulation of CSS knowledge from normal work---continuous replenishment

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.