看一下效果:
点击下面的运行,可预览代码效果:
*{ margin:0; padding:0;}
body{ font-size:12px; line-height:1.8; padding:10px;}
dl{clear:both; margin-bottom:5px;float:left;}
dt,dd{padding:2px 5px;float:left; border:1px solid #3366FF}
dd{ position:absolute; right:5px;}
h1{clear:both;font-size:14px;}
test
test
#p#分页标题#e#[Ctrl+A 全部选择 提示:你可先修改部分代码,再按运行]
如果说定宽?
点击下面的运行,可预览代码效果:
*{ margin:0; padding:0;}
body{ font-size:12px; line-height:1.8; padding:10px;}
dl{clear:both; margin-bottom:5px;float:left;width:100%}
dt,dd{padding:2px 5px;float:left; border:1px solid #3366FF}
dd{ float:right}
h1{clear:both;font-size:14px;}
div{ width:500px; float:left;}
标题
-
·博客里的文章是我自己写的!
- 作者:张三
-
·博客里的文章是我自己写的!
- 作者:张三
-
·博客里的文章是我自己写的!
- 作者:张三
-
·博客里的文章是我自己写的!
- 作者:张三
-
·博客里的文章是我自己写的!
- xxx
-
·博客里的文章是我自己写的!
- xxx
-
·博客里的文章是我自己写的!
- xxx
标题
-
·博客里的文章是我自己写的!
- xxx
-
·博客里的文章是我自己写的!
- xxx
-
·博客里的文章是我自己写的!
- xxx
-
·博客里的文章是我自己写的!
- xxx
-
·博客里的文章是我自己写的!
- xxx
-
·博客里的文章是我自己写的!
- xxx
-
·博客里的文章是我自己写的!
- xxx
#p#分页标题#e#[Ctrl+A 全部选择 提示:你可先修改部分代码,再按运行]