CSS Style Basics II

Source: Internet
Author: User

First, List

Mainly divided into sequential table ol, no sequence list ul

<ul>
<li></li>
... ..
</ul>
<ol>
<li></li>
...
</ol>
The main format for this is the above. Its properties are
The List-style shorthand property. Used to set all properties used for the list in a declaration.
List-style-image Sets the image to the list item flag.
List-style-position Sets the position of the list item flags in the list.
List-style-type Sets the type of the list item flag.
Second, box model

The main structure of the box model is composed of these parts.

Where the margin property is

Margin shorthand property. Set all margin properties in a declaration.
Margin-bottom sets the bottom margin of the element.
Margin-left sets the left margin of the element.
Margin-right sets the right margin of the element.
Margin-top sets the top margin of the element.

The properties of the padding are:

The padding shorthand property. The effect is to set the inner margin property of an element in a declaration.
Padding-bottom sets the bottom padding of the element.
Padding-left sets the left padding of the element.
Padding-right sets the right padding for the element.
Padding-top sets the top padding of an element.

CSS Style Basics II

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.