HTML静态网页---样式属性

一、背景与前景

1.背景:

2.前景字体:

 

二、边界和边框

border(表格边框、样式等)、margin(表外间距)。padding(内容与单元格间距)。

 

 

三、列表与方块

 

widthheight、(topbottomleftright)只有在绝对坐标情况下才有用。

 

 

 

原文地址:https://www.cnblogs.com/huluobozu/p/5018813.html