Html+css Learning Problem Point 01

Source: Internet
Author: User

(1) The width of the toolbar does not set the default to occupy a whole line, in the version of the hearts of the two parts of its width is determined by the content, according to the left to write, when the browser shrinks to a certain extent, a blank grid appears.

After changing to the right method, this problem is resolved.

(2) dropdown is the class name of Li, shortcut is the parent of Li, the left side due to the weight calculation problem dropdown padding-right will be stacked off, the right can be modified to achieve dropdown padding effect.

(3) I,s,em three waste utilization elements, after initialization, such as to set the EM tag width and background color, but on the page does not appear, because they belong to the elements in the row, wide height by the content of the decision, set wide and no effect.

At this point, the EM box must be removed from the standard flow to be displayed, either floating or positioning (denying oneself parent) can be achieved.

(4) Realization of triangle

Html+css Learning Problem Point 01

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.