Css
1. Processing of Forms <style> table, TD, Th{
border:1px; Solid Green;}
th{Background-color:green;
Color:white;}
</style>
<body> <table> <tr><th>firstName</th><th>Lastname</th></tr>
<tr><td>PEE</td><td>GRR</td></tr>
2, <style><div>{Background-color:lightgrey;
width;300px;
border:25px solid Green;
padding:25px;
mardin:25px;
}</style>
<body><div>KLNJFSA</div><body>
3. Setting of border
<style>
p.one{
Border-style:solid;
border-width:5px;
Border-color:red
}
p.two{
Border-style:solid;
border-width:4px;
Border-color:green;} </style>
<body>
<p class= "One" >NKNK</p>
<p class= "both" >SDNKSD</p></body>
4. Specify margin
<style>p{background-color:yellow;}
p.margin{
margin-top;100px;
margin-bottom:100px;
margin-right;50px;
margin-left;50px;}
<body>
<p>DSDSDD</p>
<p class= "Margin" >DSDSD</p></body>
5, group selector grouping selectors
<style>
h1,h2,p{
Color:green;} </style>
<body>
6, set the height of the element Dimension
<style>
img.normal{
Height:auto;}
img.pig{
height:12px;} </style>
<body>
</body>
7. Set the height according to the percentage
<style>html{height:100%;}
Body{height "100%;}
Img.normal{height:auto;}
ing.big{height:50%;}
img.smalll{height:10%;} </style>
<body>
</body>
Xss-html&javaskcript&css&jquery&ajax-css