html ol序号样式,给Ol的序号设置样式,怎么做?
HTML>
?p標簽*{padding:0px;margin:0px;}
img{width:80px;}
body{font-size:14px;}
.color-b{color:blue;}
.top{border:1px?solid?gray;}
.top-title{text-indent:1em;background-color:yellow;}
.top-content{background-color:rgb(181,?177,?61);?padding:?5px?0px;}
.top-content?.top-item{?border-bottom:1px?gray?dashed;line-height:1.5em;?margin:?3px?30px;clear:both;}
.top-content?.active{background-color:white;?padding:10px?0px;height:6em;}
.top-content?.top-item?div{float:left;}
.top-content?.top-item?dl{margin-left:5px;float:left;}
.top-content?.top-item?dl?dd{margin-top:10px;}
.top-content?.top-item?dl?dd?p{overflow:hidden;width:150px;white-space:nowrap;text-overflow:ellipsis;}
新書熱賣
????????????????????
不省心(馮小剛)作者:馮小剛
出版社:長江文藝出版社
出版時間:2013年09月
//?這個是張大大的關于ol的博客,搜藏一下
//?http://www.zhangxinxu.com/wordpress/2009/12/html-css列表元素uloldl的研究與應用/
這是代碼,實在整不動了,
這是要達到的效果;通過ol的有序,然后給ol的序號設置樣式,上面ol中li序號放到里面是:list-style-position: inside,不過這樣第一行就亂套了;求解答
總結
以上是生活随笔為你收集整理的html ol序号样式,给Ol的序号设置样式,怎么做?的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 成大事,你一定需要经历的二次跃升
- 下一篇: Python数据分析_第06课:数据清洗