Common properties of tables The basic attributes are: width (width), height (height), border (border value), cellspacing (the inner width of the table, that is, the interval between the table and tr), cellpadding (the interval between elements in the table, that is, the interval between tr and tr), bordercolorlight (the light border color of the table), bordercolordark (the dark border color of the table), bgcolor (the background color of the table), background (the background image of the table), bordercolor (the color of the table border) Properties of the internal separator line of the table The parameter rules is used, which has three values (cols, rows, none). When rules=cols, the table will hide the horizontal separator lines, that is, we can only see the columns of the table; When rules=rows, the vertical separator line is hidden, that is, we can only see the rows of the table; When rules=none, the vertical and horizontal dividers will be hidden, and we can only see the outer frame of a table. Table outer separator properties The display and hiding of the table's outer border can be controlled by the frame parameter. Note: This only works on the outer borders of the table, not on the internal edges or lines. Only show the top border <table frame=above> Only show the bottom border <table frame=below> Only show left and right borders <table frame=vsides> Only display the top and bottom borders <table frame=hsides> Only show the left border <table frame=lhs> Only show the right border <table frame=rhs> Do not display any border <table frame=void> XML/HTML CodeCopy content to clipboard
|
<<: Implementation steps of mysql master-slave replication
>>: Overview of the definition of HTC components after IE5.0
Table of contents 1.DB,DBMS,SQL 2. Characteristic...
Encryption and decryption are an important means ...
1. Overview of viewport Mobile browsers usually r...
Table of contents 1. Use SVG 2. Use fontAwesome 3...
Although head and DTD will not be displayed on th...
Exporting Data Report an error SHOW VARIABLES LIK...
In the front-end design draft, you can often see ...
1. Background In actual projects, we will encount...
1. What is a virtual host? Virtual hosts use spec...
The experimental environment is as follows Here y...
Table of contents 1. How to find duplicate rows 2...
top command is the best command that everyone is ...
Understanding of diff algorithm in React diff alg...
Need to export the fields and properties of the t...
In fact, XHTML 1.0 is divided into two types (thr...