CSS三种引入方式:
1--行间样式表(内联样式)
<div style="……"></div>
2--内部样式表
<style>
选择器{属性:属性值}
</style>
3--外部样式表
<link href="style.css" rel="stylesheet“ type=“text/css”/>
CSS样式:浮动float:left; clear:left; clear:both;
盒模型:外边距:margin 内边距:padding; -top right bottom left 上右下左,没有的话取对边