<br /> CSS syntax for table borders The specific contents include: top border width, right border width, bottom border width, left border width, border width, border color, border style, top border, bottom border, left border, right border, border, width, height, related labels, etc. 1. Top border width Syntax: border-top-width: <value> Allowed values: thin | medium | thick | <length> Initial value: medium Applies to: All objects Backwards compatible: No The border-top-width property is used to specify the width of an element's top border. The value can be one of three keywords, none of which is affected by the font size or length, and can be used to achieve proportional widths. Negative values are not allowed. Can also be used for top border, border width, or border attribute abbreviation. 2. Right border width Syntax: border-right-width: <value> Allowed values: thin | medium | thick | <length> Initial value: medium Applies to: All objects Backwards compatible: No The right border-width property is used to specify the width of an element's right border. The value can be one of three keywords, none of which is affected by the font size or length, and can be used to achieve proportional widths. Negative values are not allowed. Can also be used for the right border, border width, or border property abbreviation. 3. Bottom border width Syntax: border-bottom-width: <value> Allowed values: thin | medium | thick | <length> Initial value: medium Applies to: All objects Backwards compatible: No The border-bottom-width property is used to specify the width of an element's bottom border. The value can be one of three keywords, none of which is affected by the font size or length, and can be used to achieve proportional widths. Negative values are not allowed. Can also be used for the bottom border, border width, or border property abbreviation. 4. Left border width Syntax: border-left-width: <value> Allowed values: thin | medium | thick | <length> Initial value: medium Applies to: All objects Backwards compatible: No The left border-width property is used to specify the width of an element's left border. The value can be one of three keywords, none of which is affected by the font size or length, and can be used to achieve proportional widths. Negative values are not allowed. Can also be used for left border, border width, or border property abbreviation. 5. Border width Syntax: border-width: <value> Allowed values: [ thin | medium | thick | <length> ]{1,4} Initial Value: Undefined Applies to: All objects Backward Compatibility: No The border-width property sets the border of an element using one to four values, where the value is a keyword or a length. Negative lengths are not allowed. If four values are given, they apply to the styles of the top, right, bottom, and left borders respectively. If a value is given, it will be applied to all edges. If two or three values are given, the omitted values are equal to the opposite sides. This property is a shorthand for the border-top-width, border-right-width, border-bottom-width, and border-left-width properties. A shorthand border property may also be used. Previous Page 1 2 3 Next Page Read More |
<<: Detailed tutorial for installing MySQL 8.0.22 on Redhat 7.3 (binary installation)
>>: Modify the maximum number of mysql connections and configuration files in docker
In the table header, you can define the light bor...
Using SSH terminal (such as putty, xshell) to con...
Sorting query (order by) In e-commerce: We want t...
Sometimes, we need to use the hyperlink <a> ...
Table of contents 1. Interface effect preview 2.u...
Solution to the data asymmetry problem between My...
background: As a DBA, most of the DDL changes of ...
Tip: The following operations are all performed u...
The operating system for the following content is...
First of all, you can understand the difference b...
Table of contents 1. Function Introduction 2. Key...
After entering yum in linux, the prompt: -bash: /...
Table of contents 1. Dep 2. Understand obverser 3...
Preface JavaScript continues to grow and prosper ...
This article example shares the specific code of ...