谁知道这些代码是什么意思

来源:百度知道 编辑:UC知道 时间:2024/05/18 14:05:18
<STYLE type=text/css>
<!--
.skin_date { font-family: "Verdana", "Arial", "Helvetica", "sans-serif"; font-size: 8pt; font-weight: bolder; background-color: #CCCCCC}
.diary_datetitle {
font-family: georgia, palatino, times;
font-size: 8pt;
font-weight: bold;
color: #CCCCCC;
text-align: right;
}
.line { border-color: black black black ; border-style: solid; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 1px; border-left-width: 0px}
td { font-family: "Verdana", "Arial", "Helvetica", "sans-serif"; font-size: 9pt}
.tt_title { font-family: "Verdana", "Arial", "Helvetica", "sans-serif"; font-size: 25px; font-weight: bold; color: #d6e2f5}
.dis_tag { font-family: "Verdana", "Arial", "Helvetica", "sans-serif"; font-size: 9pt; color: #E

这是HTML网页里的自定义css样式表。
.skin_date,.diary_datetitle, .line, .ubb_quote 等等,都是网页BODY里的class(类)名字,或 id(标识)名字。
括号{ }中的东西是组合定义,就是里面的东西全描述前面的class的样式。

字体样式:
font-family: "Verdana", "Arial", "Helvetica", "sans-serif";
字体用上面四种中的一种,没有第一种用第二种,没有第二种用第三种...
font-size: 8pt -- 字体大小为 8点(points)
background-color: #CCCCCC -- 背景色红绿蓝数值0xCCCCCC [亮而浅的灰色]
font-weight: bold; -- 字体加不加粗,定为加粗(黑)
text-align: right; -- 文字如何对齐,定为右边对齐
border-color: -- 边界(边框)颜色
a { color:#666666; text-decoration: none} -- <A HREF=...>中,文字颜色红绿蓝数值0x666666, 不带装饰。
a:hover { color: #CCCCCC; text-decoration: none ;} -- 鼠标滑过<A HREF=...>链接区时,颜色红绿蓝数值变为0xCCCCCC
border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px -- 边界(边框)上右下左的宽度各为一个像素(pixel).
scrollbar-arrow-color:#666666; -- 滚动条箭头色0x666666
scrollbar-base-color:-- 滚动条条底颜色
scrollbar-shadow-color: -- 滚动条影子颜色
s