找回密码
 注册
查看: 2695|回复: 3
收起左侧

[推荐]【7.1sp1最完整的CSS解析】

[复制链接]

5314

主题

8320

帖子

1万

积分

管理员

出售国内外虚拟空间

Rank: 10Rank: 10Rank: 10

积分
14665
帖子
8320
精华
67
体力
14665 点
蓝豆
2391 点
注册时间
2007-6-8

终身成就奖LY官方团队会员身份ID卡

发表于 2007-6-13 13:59:00 | 显示全部楼层 |阅读模式

a:hover {text-decoration : underline; color : #4455aa; }鼠标悬停在链接上时所产生的效果
body {font-size : 12px; color : #000000; font-family : tahoma, 宋体, fantasy; text-align : center; margin : 0; background-image : none; }

font-size : 12px 字体的大小 color : #000000; 字体的颜色
font-family
设置或检索用于对象中文本的字体名称序列
text-align 设置或检索对象中文本的对齐方式
margin 检索或设置对象四边的外补丁

td {font-family : tahoma, 宋体, fantasy; font-size : 12px; line-height : 15px; } 表内横向格(行)
th {background-image : url(\"skins/xx/xx.jpg\"); background-color : #4455aa; color : white; font-size : 12px; font-weight : bold; line-height: normal; } 表内纵向格(比如一级版块栏目那里的一条,友情论坛最上面那一条等)
background-image:背景图片
background-color:背景颜色
Color:默认为文字颜色
font-size:字体大小
font-weight:字形,一般有4种属性:normal(默认)、bold(加粗)、bolder(特粗)、lighter(特细)
th a {color : #fff; text-decoration : none; } th样式里文字连接的默认颜色、效果
th a:hover {color : #fff;text-decoration : underline;} th样式里鼠标悬停在链接上时所产生的效果
.tabletitle1 {background-color : #6595d6; color : #fff;} 改变XML和WAP下面的背景颜色
.tabletitle2 {background-color : #e4e8ef; }这个属性是用在DVBBS用户列表,有“所有用户列表”字样那里的颜色。
.tablebody1 {background-color : #fff; line-height : normal; } 这个是用在DVBBS两种穿插颜色中的第一主色属性。比如版块介绍那一块
.tablebody2 {background-color : #e4e8ef; line-height : normal; } 这个是用在DVBBS两种穿插颜色中的第二主色属性。比如斑竹那一条的颜色
.tablebody3 {background-color : #6595d6; } 没找到是做什么的
.tableborder1 {width : {$width}; border:1px none inherit; background-color : #6595d6;}这是表格边线属性(border为边线宽度)基本的表格都是调用的这个
.tableborder2 {width : {$width}; border : 1px solid #dedede; background-color : #efefef; margin:0 auto;} 这个是DVBBS的第二导航栏属性,其border中的solid为边线是直线,也可以设置成其它的,比如dotted(以点组成的虚线)、dashed(以线段组成的虚线)等等,就好象这一条
动网先锋论坛 → 动网论坛 → 『 动网风格模板区 』 → 发表帖子 下面的表格的属性
.tableborder3 {width : {$width}; border-left : 1px solid #6595d6; border-right : 1px solid #6595d6; border-top : 0px none inherit;border-bottom : 0 solid #6595d6; background-color : #efefef; } 这个的效果就是表格的左边和右边有一条线,上下没有
.tableborder4 {width : {$width}; border : 1px solid #6595d6;} dispbbs.asp页面贴子标题,树型 打印 那一条的表格样式
.tableborder5 {border : 1px solid #6595d6;
background-color : #d6e0ef;}
{border : 1px solid #6595d6; XML最外框的颜色
background-color : #d6e0ef;} XML最外框下的一小圈背景颜色
.tableborder6 {width : {$width}; border : 0 none inherit;background-color : #fff;} 没找到是做什么的
.singleborder {font-size : 0px;line-height : 1px;padding : 0px;background-color : #6595d6;} 首页登陆那一块右边,新进来宾那一条下面的分隔线的颜色
#tabletitleLink a {color : #fff; text-decoration : none;}
#tabletitleLink a:hover {color:#fff;text-decoration : underline;}
#nobold {font-weight : normal;}
纵向表格内文字链接的属性
input , select , textarea , option {font-family : tahoma, verdana, 宋体, fantasy; font-size : 12px;line-height : 15px; color : #000000;} 输入框、选择框、文本框、选择按钮的属性
.normaltextSmall {font-size : 11px; color : #000000;font-family : verdana, Arial, Helvetica, sans-serif, fantasy;} 下脚注的字体样式
.menuskin {border : 1px solid #666666; visibility : hidden; font-size : 12px;position : absolute;background-color : #efefef; background-image : url(\"{$PicUrl}dvmenubg3.gif\"); background-repeat : repeat-y;} 下拉菜单属性,border是边框属性,background-color是背景颜色属性,background-image是背景图片
.menuskin a {padding-right : 10px;padding-left : 25px; color : black;text-decoration : none;} 这里是当鼠标鼠标移动到下拉菜单上所产生的效果,padding-right是文字右边距,padding-left为左边距,大家可以根据自己的需要来调整
.menuitems {margin : 2px; padding : 1px; text-align : left; line-height : 14pt; } 下拉菜单的基本属性
.brightClass {background-color : #d7d7d7; } 没找到是做什么的
.redfont {color : red;} 首页在线图例 那里调用的颜色效果,还有今日发贴等红色字的颜色也是调用的这个效果
.bluefont {color : #6595d6;} 首页最下面在线列表那一块 的 当前在线等前的小方块的颜色
.imgonclick {cursor : pointer;}风格 这个菜单的样式
.menu_popup {display : none; } 用户控制面板的样式
.itableborder {margin:0 auto;width : {$width};
line-height : 15pt;}
(Div模板部分)
首页底部论坛状态部分 三个标志 有新帖 没新帖 那一块的样式
hr {height:0px;border :0px;border-top: #6595d6 1px solid;width : 100%; } 所有的分隔线的颜色
div.quote {margin : 5px 20px; border : 1px solid #cccccc; padding : 5px;background : #f3f3f3; line-height : normal;} (编辑器特效CSS样式)
引用其他人发言时,引用框的效果
div.htmlcode {margin : 5px 20px; border : 1px solid #cccccc;padding : 5px;background : #fdfddf;font-size : 14px;
font-family : tahoma, 宋体, fantasy;font-style : oblique;line-height : normal;font-weight : bold;}
div.info {border-top : 1px dotted #cccccc; padding : 5px;line-height : normal; color : #c5c5c5;}
font.showtools {color : white; background-color : #b88ffc; }
.magicframe {border : 1px solid #cccccc; }
没有仔细去找这部分是哪的
.pageinput {border : 1px solid #d6e0ef; background-color : #fafafa; height : 18px;
font-family : Arial, 宋体, fantasy; font-size : 11.5px; }
这是分页那里的效果
.copyright {color : #cccccc; line-height : 130%; } 没找到是做什么的
#tdleft {float:left;border-right:1px solid #6595d6; width:50%; }
登陆信息与论坛信息中间那条竖线的颜色
.mainbar1{border-left : 1px solid #6595d6; border-right : 1px solid #6595d6; width : {$width}; min-width :760px; margin : 0 auto;border-top : 1px solid #6595d6; border-bottom : 1px solid #6595d6; line-height:25px;background-color : #E4E8EF;(查看新贴 用户列表等的背景颜色颜色)height:25px;}
border-top : 查看新贴 用户列表等上的那一条线的颜色
border-bottom :查看新贴 用户列表等下的那一条线的颜色
background-color :查看新贴 用户列表等的背景颜色颜色
.mainbar{border-left : 1px solid #6595d6; border-right : 1px solid #6595d6; width : {$width}; min-width :760px; margin : 0 auto;line-height:22px;background-color : #fff;}
border-left : 改变最左上的半条线的颜色
border-right : 改变最右上的半条线的颜色
.mainbar0{width : {$width};min-width :760px;margin : 0 auto;
line-height:22px;background-color : #fff;}
没找到是做什么的
.mainbar2{border-left : 1px solid #6595d6; border-right : 1px solid #6595d6; width : {$width};min-width :760px; margin : 0 auto;border-bottom : 1px solid #6595d6; line-height:22px;background-color : #E4E8EF;}
border-left : 版块列表最左边下半条线的颜色
border-right : 版块列表最右边下半条线的颜色
border-bottom : 版块列表最底下那条线的颜色
background-color : 斑竹下面的那一长条的背景颜色
.mainbar3{border-left : 1px solid #6595d6; border-right : 1px solid #6595d6; border-bottom : 1px solid #6595d6; width : {$width};min-width :760px; margin : 0 auto;background-color : #fff;}border-left : 友情链接和论坛在线情况的最左边的那条线
border-right : 友情链接和论坛在线情况的最右边的那条线
border-bottom : 友情链接和论坛在线情况的最底下的那条线
background-color 背景色
.mainbar4{border-left : 1px solid #6595d6; border-right : 1px solid #6595d6; border-top : 1px solid #6595d6; width : {$width};min-width :760px;margin : 0 auto;background-color : #fff;height:25px;line-height:25px;}
border-left : 分页面版主左边那条线的颜色
border-right : 分页面版主右边那条线的颜色
border-top : 分页面版主上面那条线的颜色
.index_left_states{border-right : 1px solid #6595d6; width :46px;float:left;height:60px;background-color : #fff;}border-right : 改变论坛状态图标右边的那条线的颜色
.index_right{float:right;width :240px;text-align : left; line-height:25px;}
.index_left_states img{margin-top:28px;}
index_left_states img 顶部空白
.boardlogo{float:right;margin-top:4px;margin-right:5px;border:0px;}
版块图片的样式
#topbar_top{background-image : url(\"{$PicUrl}css/default/topbg.gif\"); height:9px;line-height:9px;font-size : 0px;color : #6595d6;}
#topbar_mid{height:70px;text-align : left;background-color : #fff;}
#topbar_bottom{background-image : url(\"{$PicUrl}css/default/bottombg.gif\");height:9px;line-height:9px;font-size : 0px;color : #6595d6;}
#topbar_menu{background-image : url(\"{$PicUrl}css/default/tabs_m_tile.gif\"); height:22px;line-height:22px;text-align : left;}
#topbar_mid_l{width:25%;float:left;margin-left:1px;margin-top:5px;min-width:180px;}
#topbar_mid_m{width:60%;float:left;margin-top:5px;min-width:468px;}
#topbar_mid_r{float:right;margin-top:5px;min-width:90px;line-height:15pt;text-align :right;margin-right:5px;}
这些保留
.menudiv1{float:left;margin-left:2px;height:20px;line-height:20px;background : url(\"{$PicUrl}navspacer.gif\") no-repeat;text-indent:8px;}首页菜单条分隔图片的样式
.menudiv2{float:left;margin-left:2px;height:20px;line-height:20px;text-indent:8px;}
div.th{border: 1px solid #6595d6; border-bottom : 0px; width : {$width};min-width :760px;margin : 0 auto;background-image : url(\"{$PicUrl}css/default/bg1.gif\");
border: 改变th上的那条横线的颜色
background-image : url(\"{$PicUrl}css/default/bg1.gif\");改变th的背景
background-color : #4455aa; color : white;font-size : 12px;font-weight : bold;height : 26px;line-height : 26px; text-align : left;text-indent: 5px;}
div.th div{height : 26px;line-height : 26px;text-align : center;text-indent:0px; }
div.th a {color : #fff;text-decoration : none; }
div.th a:hover {color : #fff;text-decoration : underline; }
div.th img{border:0px;margin-top:9px;}
顶部样式
.bottomline{height :24px;line-height :24px;border-bottom : 1px solid #6595d6;float:left;}
#rules{border-bottom : 1px solid #6595d6;text-align : left; line-height : 15px; }
#rulesbody{text-indent:24px;padding:10px;}
border-bottom :版规下面那条线的颜色
.list1{float:left;width:32px;border-right : 1px solid #6595d6;}
回复 人气 状态旁边的那条线的颜色
.list_r{float:right;width:400px;border-left : 1px solid #6595d6; }
帖子列表th样式背景作者左边的那条线的颜色
.list{border-left : 1px solid #6595d6; border-right : 1px solid #6595d6;border-bottom : 1px solid #6595d6;width : {$width};min-width :760px;margin : 0 auto;background-color : #fff; height:26px;line-height:26px;text-align : left;overflow :hidden;}
border-left : 帖子列表左边的那条线的颜色
border-right : 帖子列表右边的那条线的颜色
border-bottom : 帖子列表底下的那条线的颜色
background-color : 贴子标题列表的背景颜色
.list div{height:26px;overflow :hidden;}
.list_s{float:left;text-align : center;width:32px;border-right : 1px solid #6595d6; background-color :#e4e8ef; }
border-right : 帖子列表状态图片右边那条线的颜色
background-color : 帖子列表状态图片下的背景颜色
.list_s img{margin-top:6px;}
.list_a{float:left;text-align : center;width:80px;border-right : 1px solid #6595d6; background-color : #e4e8ef;}
border-right : 帖子列表作者右边那条线的颜色
background-color : 帖子列表作者的背景颜色
.list_c{float:left;text-align : center;width:50px;border-right : 1px solid #6595d6; background-color : #fff; }
border-right : 帖子列表回复和人气右边的那条线的颜色
background-color : 帖子列表回复和人气的背景颜色
.list_t{float:left;text-align : center;width:120px;margin-left:5px;}
.list_r1{float:right;width:400px;border-left : 1px solid #6595d6; background-color : #e4e8ef;}
border-left : 贴子列表作者左边的那条线的颜色
background-color : 最后更新的背景颜色
.list_img{float:left;text-align : center;}
.list_img img{margin-left:2px;margin-top:8px;margin-right:8px;border:0px;}
form{margin:0px;}
版面新闻样式
#posttopic{width:85px;height:26px;float:left;background-image : url(\"{$PicUrl}postnew.gif\"); margin : 2px;cursor:pointer;}发表新贴的图标样式
#postvote{width:85px;height:26px;float:left;background-image : url(\"{$PicUrl}votenew.gif\"); margin : 2px;cursor:pointer;}发新投票的图标样式
#postpaper{width:85px;height:26px;float:left;background-image : url(\"{$PicUrl}xzb.gif\"); margin : 2px;cursor:pointer;}发小字报的图标样式
#repost{width:85px;height:26px;float:left;background-image : url(\"{$PicUrl}mreply.gif\");margin : 2px;cursor:pointer;}回复此帖的图标样式
#postalipay{width:85px;height:26px;float:left;background-image : url(\"{$PicUrl}alipay.gif\"); margin : 2px;cursor:pointer;}发起交易的图标样式
.main{width : {$width};min-width :760px;margin : 0 auto;}
#boardmaster{margin-top:2px;text-align : left;}
#boardmaster a{margin-right:2px;}
#masterpic{float:left;width:20px;height:20px;margin-top:3px;background-image : url(\"{$PicUrl}team2.gif\"); }
background-image : 分页版主图标的样式
#boardmanage{float:right;margin-right:2px;}
#subject{text-align :left;text-indent:5px;}
#subject img{margin-top:5px;}
.listexpression{margin-left:2px;margin-top:2px;margin-right:8px;float:left;}
.filetype{margin-top:5px;margin-right:8px;float:left;}
.listtitle{float:left;}
.listtitle div{float:left;}
.listtitle img{margin-top:5px;margin-right:8px;float:left;}
标题样式
.postlary1{border: 1px solid #6595d6; width : {$width}; min-width :760px;margin : 0 auto;background-color:#fff;text-align : left;}

border: 帖子内容外框表格线的颜色 样式一
background-color: 贴子内容背景颜色

.postlary2{border: 1px solid #6595d6; width : {$width}; min-width :760px;margin : 0 auto;background-color:#E4E8EF; text-align : left; }
border: 帖子内容外框表格线的颜色 样式二
background-color: 贴子内容背景颜色二
.postuserinfo{float:left;width:190px;text-indent:24px;}
.post{border-left: 1px solid #6595d6;margin-left : 190px;min-height:300px;padding:10px;}
.postie{border-left: 1px solid #6595d6; margin-left:190px;height:300px;padding:10px;}
border-left: 帖子内容和快速回复中间的那一长条竖线的颜色
.postbottom1{width : {$width};min-width :760px;margin : 0 auto;background-color:#fff; height:28px;line-height:28px;border-left: 1px solid #6595d6;border-right: 1px solid #6595d6;text-align : left; }
background-color: 帖子内容页IP以及引用 回复菜单那一条的背景颜色样式一
border-left: 帖子内容页快速回复上的最后一个帖的最左边的那条线的颜色样式1
border-right: 帖子内容页快速回复上的最后一个帖的最右边的那条线的颜色样式1
.postbottom2{width : {$width};min-width :760px;margin : 0 auto;height:28px;line-height:28px;background-color : #e4e8ef; border-left: 1px solid #6595d6;border-right: 1px solid #6595d6;text-align : left; }background-color : 帖子内容页IP以及引用 回复菜单那一条的背景颜色样式二
border-left: 帖子内容页快速回复上的最后一个帖的最左边的那条线的颜色样式2
border-right: 帖子内容页快速回复上的最后一个帖的最右边的那条线的颜色样式2
#postend{border-bottom : 1px solid #6595d6;}
帖子内容页快速回复上的最后一个帖的最下面的那条线的颜色
.lockuser{height:30px;line-height:30px;width:150px;border: 1px solid #6595d6;border-top:3px double #6595d6;text-align : center;color:#00008B;margin :240px 0px 0px 10px;background-color : #e4e8ef;float:right;}
.vote{float:left;border-left: 1px solid #6595d6; height:28px;}
border-left: 投票帖中间的那条线的颜色
.li1{border-left : 1px solid #6595d6;
line-height : 28px;height : 28px;}
.li2{border-left : 1px solid #6595d6; line-height : 28px;height : 28px;background-color : #e4e8ef;}
出售国内或美国高性能虚拟空间,高速VPS以及服务器! 同时承接各种类型的网站制作,网站维护,支付宝交易安全放心!    联系QQ:6102031
懒得打字嘛,点击右侧快捷回复
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

网站公告上一条 /2 下一条

GMT+8, 2024-5-19 09:17 , Processed in 0.125000 second(s), 23 queries , Gzip On.

© 2006-2022 Powered by Discuz! X3.4

快速回复 返回顶部 返回列表