1.居中對齊:margin:0 auto;
節點如果不能對齊,那么它有可能是行內元素,那么就在css加一句:display:block
;
<embed src=".swf">
2.wmode:
實現透明:<sembed src=".swf" wmode="transparent">
3.設置
background: #fff url(../images/001.png) no-repeat left bottom;
background-size: 300px;
4.inline:內聯
display:inline;
<li>
是塊元素,用了inline就是橫著排列
與block
相對
5.首行縮進
text-indent: 24px;
6.左對齊,右對齊
margin-left: auto;
右邊對齊
margin-right: auto;
左邊對齊