CSS syntax for table borders

CSS syntax for table borders
<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

Recommend

Mysql sorting and paging (order by & limit) and existing pitfalls

Sorting query (order by) In e-commerce: We want t...

WeChat applet implements SMS login in action

Table of contents 1. Interface effect preview 2.u...

Solution to the data asymmetry problem between MySQL and Elasticsearch

Solution to the data asymmetry problem between My...

Summary of using MySQL online DDL gh-ost

background: As a DBA, most of the DDL changes of ...

Install MySQL in Ubuntu 18.04 (Graphical Tutorial)

Tip: The following operations are all performed u...

Installation tutorial of MySQL 5.1 and 5.7 under Linux

The operating system for the following content is...

How to build SFTP server and image server on Linux cloud server

First of all, you can understand the difference b...

Implement a simple data response system

Table of contents 1. Dep 2. Understand obverser 3...

18 killer JavaScript one-liners

Preface JavaScript continues to grow and prosper ...

jQuery implements time selector

This article example shares the specific code of ...