HTML Settings page structure content, CSS settings style, to remember a lot of tags, to learn nothing more than practice, and then see how others Write code, contrast their own, this can better understand.
On the float, since all floats must be cleared, that in the setting of the float, the first to clear the floating code to write, lest forget to clear floating behind. Setting the height of the parent element height,div the last div element in the Clear{clear:both},ul setting Overflow{overflow:hidden} on the UL attribute is three effective methods
Padding and margin are applicable to both block elements and inline elements. Block elements can be thought of as large boxes, which do not allow other elements to be on the same line as themselves, setting width,height. The inline element is considered a small box, allowing other elements to be on the same line as themselves, not set width,height, whose width,height depends on the size of the content inside. The individual tag names of block elements and inline elements must be well-remembered and separated. When using padding, it is important to observe that when the box is large, it should subtract the corresponding value from the width and Height properties to maintain its original size.
HTML and CSS learning experience