Div has a Class, Style, title, ID and other attributes.
1.margin Empty out Edge
Margin: Up and down (in a clockwise order, symmetrical in the absence of a certain direction)
2.border Border (Three elements: pixel shape color)
BORDER-TOP:1PX solid black Upper Box
border-bottom:1px Solid #6699cc Bottom Box
border-left:1px Solid #6699cc left box
border-right:1px Solid #6699cc Right box
BORDER:1PX Solid #6699cc Four borders
3.background background
Text-decoration:none; " >black background Color
Background-image:url (image/bg.gif) Background image
background-attachment:fixed Fixed Background
Background-repeat:repeat repeating arrangement-page presets
Background-repeat:no-repeat non-repeating arrangement
Background-repeat:repeat-x in x-axis repeating arrangement
Background-repeat:repeat-y repeats in y-axis
background-position:90% 90% background image x and Y axis position
Over-flow:hidden, let the excess parts be hidden.
4. Float and Clear float
Float:left; Left float
Clear:left; Clear the position left floating
HTML&&CSS Basic Knowledge Notes