March 31 Study Notes (CSS part), March 31 Study Notes css

Source: Internet
Author: User

March 31 Study Notes (CSS part), March 31 Study Notes css

  • Background attributes

 

  • Text attributes

The direction attribute affects the writing direction of the text in the block-level element, the direction of the column layout in the table, the direction of the element box filled with content horizontally, and the position of the last row in the alignment element at both ends.

Note: For intra-row elements, the direction attribute is applied only when the unicode-bidi attribute is set to embed or bidi-override.

The direction property has two values: ltr and rtl. In most cases, the default value is ltr, which displays text from left to right.

 

  • CSS links in four states

A: hover must be located after a: link and a: visited, and a: active must be located after a: hover

 

  • CSS list attributes

List-style-type controls table item icons with values such as circle, square, upper-roman, and lower-alpha.

List-style-image: icon represented by an image, ul. img2 {list-style-image: url ("11.ico ")}

List-style is short for style and its values can be listed in any order.

  • Table attribute of CSS

Border-collapse --- set whether to merge the table border into a single border.

Border-spacing --- set the distance between the borders of cells.

Caption-side --- set the table title position.

Empty-cells --- set whether to display empty cells in the table.

Table-layout --- sets algorithms for displaying units, rows, and columns.

  • CSS outline attributes

Outline-color sets the outline color.

Set the outline style in outline-style.

Set outline-width to the width of the contour.

 

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.