}
div.pic li.title{
font-weight:bold;
padding-top:0.4em;
padding-bottom:0.2em;
border-bottom:1px solid #a7d5ff;
color:#004586;
}
div.pic li.catno{
color:#0068c9;
margin:0 2px 0 13em;
padding-left:5px;
border-left:1px solid #a7d5ff;
}
div.pic li.price{
color:#0068c9;
font-style:italic;
margin:-1.2em 2px 0 18em;
padding-left:5px;
border-left:1px solid #a7d5ff;
float:left;
}
11-6ppt.css
body{
margin:0.8em;
padding:0px;
}
div.pic{
float:left; /* 向左浮动 */
height:160px; width:160px; /* 每幅图片块的大小 */
margin:6px;
padding:0px;
}
div.pic img{
border:1px solid #82c3ff;
}
div.ls{
background:url(framels.jpg) no-repeat center; /* 水平图片的背景 */
}
div.pt{
background:url(framept.jpg) no-repeat center; /* 竖直图片的背景 */
}
div.ls img{ /* 水平图片 */
精通 CSS+DIV 网页样式与布局 110
最新推荐文章于 2024-07-25 12:29:37 发布