CSS can make the page more beautiful, 16 is the most common way to set the color value, will be three between the hexadecimal number of 00-ff to connect, if the 16 in the 3 groups of pairs, it can be shortened to 3 bits. Such as:Scrollbar-3dlight-color:#999;Scrollbar-darkshadow-color:#999;Scrollbar-highlight-color:#fff;Scrollbar-shadow-color:#eee;Scrollbar-arrow-color:#000;Scrollbar-face-color:#ddd;Scrollbar-track-color:#eee;Scrollbar-base-color:#ddd;
Rows: Number of rows in a multiline input field.
CSS style width and height to replace: col with width, row with height to replace
Type: Control is a radio box when type= "Radio"
When type= "checkbox", the control is a check box
Value: Submit data to server values (background program PHP use)
Name: Name the control for the background program ASP, PHP use
Checked: This option is selected by default when checked= "checked" is set
Type: The button has a commit function only if the type value is set to submit
Value: The text displayed on the button
font-size:12px;/* Set Text Size */
color:red;/* Set Text color */
font-weight:bold;/* Setting Font Bold *
Row Height Property (line-height)
You can use letter-spacing to implement text intervals or letter intervals
Div{text-align:center;} Center horizontally
Div{text-align:left;} Horizontal left
Div{text-aling:right} Horizontal Right
<div>, <p>, Common styles for Border-style (border styles) are:
Dashed (dashed line) | Dotted (point line) | Solid (solid line).
There are three layout models of elements:
1. Flow model
2. Floating model (float)
3. Layers Model (layer)
There are three forms of the layer model:
1. Absolute positioning (Position:absolute)
2. Relative positioning (position:relative)
CSS Basics (1)