摘要: 1 、上下边距会叠加!DOCTYPE html>2、父级包含子级的时候,子级的margin-top会传递给父级,可以使用父级的padding替代自己的margin。3、margin左右margin-lefta:uto 偏右margin-right:auto 偏左margin:auto 水平居中... 阅读全文
posted @ 2015-08-01 15:41 staven 阅读(274) 评论(0) 推荐(0) 编辑
摘要: usemap="#map" ,map为热点区域area的三个属性:shape: rect(矩形):coords的四个数值分明别表示左上角、右下角两个点横纵坐标,单位为像素。 circle(圆形):coor... 阅读全文
posted @ 2015-08-01 15:34 staven 阅读(13022) 评论(0) 推荐(0) 编辑