引用: width="820" height="540"
常用
* { padding:0px; /*清除默认内边距*/
margin:0px; /*清除默认外边距*/ }
text-align:center 文字居中
html 中空格
line-height:20px; /*行高*/
text-align:center; /*对齐*/
Letter-spacing:5px; /*字母之间的间距*/
Text-indent:40px; /*首行的缩进方式:px/%*/
<font>字体标签</font>
<!--字体CSS属性-->
<style type="text/css">
font-size:字体大小(常用单位:px/%/em...);
color:颜色;
font-style:字体样式;
font-family:字体系列;
font-weight:字体粗细; </style> 例:<font size="6" color="#FF0000" face="微软雅黑">我是字体标签</font>
赏盒子属性
content:内容
padding:内边距
border:边框
margin:外边距
text-align: center; /*文本居中*/
margin: 0px auto; /*盒子水平居中*/
height:高度
width:宽度
padding、border、margin:都有四个方向:top、bottom、left、right;
例: <style type="text/css"> padding-top:50px; border-left:50px; margin-right:50px; </style>