Table Style in CSS

Source: Internet
Author: User

Border-spacing: Sets the distance between the borders of adjacent cells;

Border-collapse: Sets whether the border of the table is merged into a single border; {Separate/collapse/inherit (ie does not support this property)}

Text-align: Horizontal alignment {Left/center/right}

Vertical-align: Set vertical alignment {Top/center/bottom}

Caption-side: Set How table headings are placed {Top/bottom/inherit}

Empty-cells: Hide borders and backgrounds on empty cells in a table {Hide/show/inherit}

Table-layout: Set the table layout algorithm to display the table cell, row, and column algorithm rules {Automatic/fixed/inherit}

Fixed (pinned table layout): Horizontal layout depends only on the table width, column width, table border width, cell spacing, and the contents of the cell.

Automatic (Automatic table layout): The width of the column is set by the widest content in the column cell that does not have a row.

Table Style in CSS

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.