Simple cloud class css: tables and forms

Source: Internet
Author: User

I. Basic Features of table tables

The basic features of table labels are: display: table;

1. Do not add styles to table labels other than table, th, and td;
2. By default, the cell splits the table width equally;
3. By default, the content in th is bold and displayed in the center of left and right;
4. By default, the content in td is displayed on the left and right of the center, and displayed on the left;
5. The table determines the width of the entire table;
6. The cell width in the table is converted to a percentage;
7. Each column in the table must have a width;
8. The same vertical column in the table inherits the maximum width;
9. The highest level of table inheritance;

<! Doctype html> 

Ii. Form Style resetting

<style>form{margin:0;}input{margin:0;padding:0;}select{margin:0;}textarea{margin:0; padding:0;resize:none; overflow:auto; outline:none;}</style>


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.