Thursday, July 29, 2010

The table border css syntax order


Produced in the form we know Dreamweaver has done very well, but in some cases it must be integrated with css to achieve specific results, following the form we first sort out the border of the css syntax, and then describes how to use other forms of border css landscaping .

Syntax of the table border css

Topics include: the border width, the width of the right frame, under the border width, the left border width, border width, border color, border style, on the border, bottom border, left border, right border, border, width, height, the labels .

1. The border width

Syntax: border-top-width:

Allowed values: thin | medium | thick |

Initial value: medium

Application: all objects

Backward compatible: No

The border width attribute specifies the width of an element on the border. Value can be one of the three keywords are not subject to the impact of font size or length, can be used to achieve proportional to the width. Negative values are not allowed. Can also be used on the border, the border width or border of the property a little writing.

2. The right frame width

Syntax: border-right-width:

Allowed values: thin | medium | thick |

Initial value: medium

Application: all objects

Backward compatible: No

Right border width attribute specifies the width of elements in the right box. Value can be one of the three keywords are not subject to the impact of font size or length, can be used to achieve proportional to the width. Negative values are not allowed. Can also be used in the right box, border width or border of the property a little writing.

3. Under the border width

Syntax: border-bottom-width:

Allowed values: thin | medium | thick |

Initial value: medium

Application: all objects

Backward compatible: No

Under the border width attribute specifies the width of the border under the element. Value can be one of the three keywords are not subject to the impact of font size or length, can be used to achieve proportional to the width. Negative values are not allowed. Can also be used in the next border, border width or border of the property a little writing.

4. Left border width

Syntax: border-left-width:

Allowable value: thin | medium | thick |

Initial value: medium

Application: all objects

Backward compatible: No

Left border width attribute specifies the element's left border width. Value can be one of the three keywords are not subject to the impact of font size or length, can be used to achieve proportional to the width. Negative values are not allowed. Can also be used in the left border, the border width or border of the property a little writing.

5. Border Width

Syntax: border-width:

Allowed values: [thin | medium | thick | ] (1,4)

Initial value: Undefined

Application: all objects

Backward compatible: No

Border-width property value with a 1-4 to set the element's border, the value is a keyword or length. Negative length is not allowed. If four values are given, they were used on the right, down and left border of the pattern. If a value is given, it will be applied to all sides. If two or three values are given, the value is omitted with the same edge. This property is on the border width, the width of right border, bottom border width and border width of the property left a little to write. You can also use the border attribute to write a little.

6. Border Color

Syntax: border-color:

Allowed values: (1,4)

Initial value: color property value

Application: all objects

Backward compatible: No

Border color properties set an element's border color. You can use 1-4 keywords. If four values are given, they were used on the right, down and left border of the pattern. If a value is given, it will be applied to all sides. If two or three values are given, the value is omitted with the same edge. You can also use the border attribute to write a little.

7. Border Style

Syntax: border-style:

Allowed values: [none | dotted | dashed | solid | double | groove | ridge | inset | outset] (1,4)

Initial value: none

Application: all objects

Backward compatible: No

Border style properties set the border style of an element. This property must be used to specify the visible border. You can use 1-4 keywords. If four values are given, they were used on the right, down and left border of the pattern. If a value is given, it will be applied to all sides. If two or three values are given, the value is omitted with the same edge. You can also use the border attribute to write a little.

none: no style;
dotted: dotted lines;
dashed: dotted;
solid: solid line;
double: double;
groove: groove line;
ridge: ridge;
inset: concave;
outset: convex.



8. On the Border

Syntax: border-top:

Allowed values: | | | |

Initial value: Undefined

Application: all objects

Backward compatible: No

On the border attribute is used to set a border width of an element, write a little style and color. Note that only give a border style. You can also use the border attribute to write a little.

9. The right box

Syntax: border-right:

Allowed values: | | | |

Initial value: Undefined

Application: all objects

Backward compatible: No

The right frame attribute is used to set one element of a right border width, style, and color a little to write. Note that only give a border style. You can also use the border attribute to write a little.

10. Bottom border

Syntax: border-bottom:

Allowed values: | | | |

Initial value: Undefined

Application: all objects

Backward compatible: No

Under the border attribute is an element used to set a bottom border width, style and color of a little writing. Note that only give a border style. You can also use the border attribute to write a little.

11. Left border

Syntax: border-left:

Allowed values: | | | |

Initial value: Undefined

Application: all objects

Backward compatible: No

Left border attribute is used to set one element of a left border width, style and color of a little writing. Note that only give a border style. You can also use the border attribute to write a little.

12. Border

Syntax: border:

Allowed values: | | | |

Initial value: Undefined

Application: all objects

Backward compatible: No

Border attribute is used to set a border width of an element, write a little style and color.

Examples of border declarations include:

H2 (border: groove 3em)
A: link (border: solid blue)
A: visited (border: thin dotted # 800080)
A: active (border: thick double red)

Border property can only set the four border; can give a border width and style. In order to give an element of the four borders of the different values, web producer must use one or more attributes, such as: on the border, right border, bottom border, left border, border color, border width, border style, the border width, the width of right border, bottom border width or left border width.

13. Width

Syntax: width:

Allowed values: | | auto

Initial value: auto

Apply to: block-level and replaced elements

Backward compatible: No

Width property's initial value "auto", shall be the original width of the element (there are elements of their own width). Reference higher percentage of the width of the element. Does not allow negative length value.

14. Height

Syntax: height:

Allowed values: | auto

Initial value: auto

Apply to: block-level and replaced elements

Backward compatible: No

High initial value of the property "auto", shall be the original height of the element (there is the element of self,). Reference higher percentage of the width of the element. Does not allow negative length value.

15. The label

table: table tag, the definition of the entire table style table to put in;
td: a cell, labels to define a cell style on the td in the.








Recommended links:



C Language Library Function (K Class Letters)



"Six Degrees Theory" mold SNS



Guanqunjinchen consecutive successful in the South China



Picked Recreation



The Xenofex Photoshop Filters



3gp TO avi



Flv to 3gp converter



avc-free



Photoshop digital photo Processing instance: remove red-eye



Easy E-Mail Clients



BT has been closed, we see what?



The Economic Observer: The Power Behind The Green Dam Game Event



Free mkv converter



My favorite News Servers



No comments:

Post a Comment