CSS Syntax Guide
Text fill, borders, boundaries and location of the property (2)
3, Box border property
1, margin-bottom
margin-left
margin-right
margin-top
Features: The four elements and their attributes used to set the distance between adjacent elements, you can use the length or width of the text relative to the percentage of parent to define, can be processed automatically.
Value:
Length - set to the corresponding elements between the edge and frame edge relative or absolute distance, the effective unit: mm, cm, in, px, pt, pica, ex, em ...
Percentage - The percentage of the width of the parent element to set the border size.
auto - automatically, this setting the default browser check border.
Example
2, margin
Function: shorthand property for setting all the boundary elements. This is used to describe the contents of the element edge to the frame edge distance. This area is always transparent, and you can see the following page background.
Value:
Length - with the former
Percentage - The percentage of the width of the parent element to set the border size.
auto - automatically, this setting the default browser check border.
Example
4, box location attribute
1, height
Function: Set the element height, the browser height adjustment in accordance with the graphics.
Value:
Length - mm, cm, px, pt, .....
auto - automatically.
2, width
Function: Set the element width, the width of the browser to adjust according to this graph.
Value:
Length - mm, cm, in, px, pt, ......
Percentage - to set the pattern and the percentage of the width of the parent element.
auto - automatic adjustment
3, float
Function: used in the general arrangement of elements in stream element placed outside the rules.
Value:
none - No change.
left - the other elements of content into the right floating elements.
right - the other elements of content into a floating element on the left.
4, clear
Function: used to allow or prohibit the placement next to other elements of the specified element (usually a line graph).
Value:
none - no limit.
left - the element on the left of the floating elements of the following
right - the floating elements of the following elements on the right
both - not allowed to be placed on both sides of the floating element element
Recommended links:
ASF to MPG
who invented the first INKJET printer the history
MP4 To WMP
MKV to WMV
No comments:
Post a Comment