Prerequisite basic learning for hybrid APP development-CSS3

9. Table style

It is a unique attribute of the table.

9.1 Vertical alignment

vertical-align: top/middle (default)/bottom; the vertical alignment in the cell

9.2 Border merge

border-collapse:separate (default)/collapse; Set this property to the table, and it is invalid to the td setting

9.3 Border margins

border-spacing:value;

u Matters needing attention:

v Set a border on the table, only the outer border of the table (not the cell) is displayed.

v margin:0px auto;/*Block-level elements can be centered by matgin*/

v text-align:right; does not work for inline

Guess you like

Origin blog.csdn.net/Jason_LH1024/article/details/104347374