文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>CSS

CSS

时间:2006-06-01  来源:acefunware

/* 网站链接总的css定义:可定义内容为链接字体颜色、样式等 www.cn01.com.cn */
a{text-decoration: none;} /* 链接无下划线,有为underline */
a:link {color: #000000;} /* 未访问的链接 */
a:visited {color: #000000;} /* 已访问的链接 */
a:hover{color: #0000ff;} /* 鼠标在链接上 */
a:active {color: #ae0927;} /* 点击激活链接 */
/* 顶部频道文字链接的css定义--将顶部频道文字链接与网站链接总的css定义分开,以后可以制作深底浅字的格式,如果要保持原来的设计样式,将此定义内容删除或定义成与网站链接总的css相同即可。调用代码为<a class='channel' ***>***</a> www.cn01.com.cn */
a.channel:link {color: #ffffff;}
a.channel:visited {color: #ffffff;}
a.channel:hover{color: #ffff00;}
a.channel:active {color: #ffffff;}
/* 顶部当前频道文字链接的css定义--调用代码为<a class='channel2' ***>***</a> */
a.channel2:link {color: #333333;}
a.channel2:visited {color: #333333;}
a.channel2:hover{color: #ff6600;}
a.channel2:active {color: #333333;}
a.channel2:font-weight {bold;}
/* 底部版权信息文字链接的css定义--与顶部频道文字链接定义的想法相同。可设置与顶部频道文字链接定义不同的文字颜色,网页内定义以预留。调用代码为<a class='bottom' ***>***</a> */
a.bottom:link {color: #ffffff;}
a.bottom:visited {color: #ffffff;}
a.bottom:hover{color: #ffff00;}
a.bottom:active {color: #ffffff;}
/* 文章栏目标题文字链接的css定义--可设置与顶部频道文字链接定义不同的文字颜色,网页内定义以预留。要相同可不设置。调用代码为<a class='class' ***>***</a> */
a.class:link {color: #ffffff;}
a.class:visited {color: #ffffff;}
a.class:hover{color: EBF5FB;}
a.class:active {color: #ffffff;}
/* body的css定义:对应css中“body”,可定义内容为网页字体颜色、背景、浏览器边框等 */
body         { font-size: 9pt; background-image:
               url('../Local%20Settings/Temporary%20Internet%20Files/Content.IE5/0D4XB7ME/Bg.Gif');
               background-repeat: repeat; background-attachment: scroll;
               text-decoration: none; scrollbar-face-color: #1987CD;
               scrollbar-highlight-color: #ffffff; scrollbar-shadow-color:
               #cccccc; scrollbar-3dlight-color: #cccccc;
               scrollbar-arrow-color: #0148CC; scrollbar-track-color: #f6f6f6;
               scrollbar-darkshadow-color: #ffffff; margin: 0px;
               background-position: center 50% }
/* 顶部总导航文字颜色定义 www.cn01.com.cn www.cn01.com.cn */
.menu001     { font-weight: bold; color: ffffff; text-align: center;
               background-image:
               url('../Local%20Settings/Temporary%20Internet%20Files/Content.IE5/0D4XB7ME/menu_001.gif') }
/* 单元格的css定义:对应css中的“td”,这里为总的表格定义,为一般表格的的单元格风格设置,可定义内容为背景、字体颜色、样式等 */
td
{
 font-family:"宋体";
 font-size: 9pt;
 line-
 font-weight: normal;
}
/* 按钮的css定义:对应css中的“button”,这里为按钮的风格设置,可定义内容为背景、字体、颜色、边框等 */
button
{
font-size: 9pt;
}
/* 下拉列表框的css定义:对应css中的“select”,这里为下拉列表框的风格设置,可定义内容为背景、字体、颜色、边框等 */
select
{
font-size: 9pt;
}
/* 顶部用户登录文字链接的css定义 */
.top_userlogin
{
color: #037fa8;
}
/* ==频道通用表格css定义开始== */
.channel_border /* 灰色表格边框背景颜色定义(760) */
{
border: 1px solid #cccccc;
}
.channel_title /* 标题背景颜色定义(760) */
{
background: #cccccc;color: #037fa8;text-align: center;font-weight:bold;
}
.channel_tdbg /* 表格背景颜色定义(760) */
{
background:#fafafa;line-
}
.channel_pager /* 分页表格背景颜色定义(760) */
{
background:#fafafa;line-
}
  /* --评论显示页的css定义开始-- */
.comment_border /* 蓝色表格边框背景颜色定义(760) */
{
border: 1px solid #449ae8;
}
.comment_title /* 标题背景颜色定义(760) */
{
background:#449ae8;color: #ffffff;font-weight: normal;
}
.comment_tdbg1 /* 表格背景颜色定义(760) */
{
background:#ffffff;line-
}
.comment_tdbg2 /* 留言显示1px表格背景颜色定义 */
{
background:#fafafa;
}
.top_tdbgall /* 顶部表格总背景颜色定义 */
{
width: 760;background:#ffffff;
}
.top_top
{
background:#0089f7;
}
.top_channel /* 频道表格背景、文字颜色定义 */
{
background:#0089f7;color:#3ab1f5!important;text-align: right;border-top: 1px solid #ffffff;border-bottom: 1px solid #ffffff;
}
.top_nav_menu { color: #ffffff; background-image:
               url('../Local%20Settings/Temporary%20Internet%20Files/Content.IE5/0D4XB7ME/menu_bg2.gif');
               padding-left: 33px }
.top_path /* 您现在的位置表格背景、文字颜色定义 */
{
width: 760;background:#ffffff;
}
.top_userlogin /* 顶部用户登录文字链接的css定义 */
{
color: #037fa8
}
/* ==top.asp中的css定义结束== */
/* ==网页中部中的css定义开始== */
.center_tdbgall /* 中部表格总背景颜色定义 */
{
background:#ffffff;
width:770px;
}
  /* --网页中部左栏的css定义开始-- */
.left_tdbgall /* 左栏表格总背景颜色定义 */
{
background:#ffffff;
}
.left_title  { font-weight: bold; color: ffffff; text-align: left;
               background-image:
               url('../Local%20Settings/Temporary%20Internet%20Files/Content.IE5/0D4XB7ME/right_t.gif');
               width: 182px; padding-left: 20px }
.left_tdbg1 /* 左栏内容表格背景、文字颜色定义 */
{
 padding: 5px; background-color: #e6f5ff; border-width: 1px;
 border-top-style: none; border-bottom-style: none; border-color: #a4c6fc;border-right-style: solid;border-left-style: solid;
}
.left_tdbg2  { background-image:
               url('../Local%20Settings/Temporary%20Internet%20Files/Content.IE5/0D4XB7ME/tdbg_bottom.gif');
               background-repeat: no-repeat }
.right_title_bs06 { font-weight: bold; color: ffffff; text-align: left;
               background-image:
               url('../Local%20Settings/Temporary%20Internet%20Files/Content.IE5/0D4XB7ME/right_t.gif');
               padding-left: 20px }
.right_title { background-image:
               url('../Local%20Settings/Temporary%20Internet%20Files/Content.IE5/0D4XB7ME/right_title.gif');
               background-repeat: repeat; background-attachment: scroll;
               font-weight: bold; color: ffffff; width: 180;
               text-align: left; padding-left: 40; background-position: 0% }
  /* --网页中部左栏的css定义结束-- */
  /* --网页中部中栏的css定义开始-- */
.main_tdbgall /* 中栏表格总背景颜色定义 */
{
width: 572;background:#ffffff;
}
.main_shadow /* 中栏内容间隔表格背景颜色定义(575) */
{

}
.main_announce /* 中栏公告表格背景、文字颜色定义 */
{
color: 037fa8;background:#f9f9f9;border: 1px solid #d2d3d9;
}
.main_search /* 中栏搜索表格背景、文字颜色定义 */
{
color: 037fa8;border: 1px solid #d2d3d9;background:#f9f9f9;
}
.main_top    { background-image:
               url('../Local%20Settings/Temporary%20Internet%20Files/Content.IE5/0D4XB7ME/main_top.gif');
               background-repeat: repeat; background-attachment: scroll;
               background-position: 0% }
.main_title_760i { color: ffffff; background-image:
               url('../Local%20Settings/Temporary%20Internet%20Files/Content.IE5/0D4XB7ME/main_bs.gif');
               text-align: left; border-right: 1px solid #1c65be;
               padding-left: 30 }
.main_tdbg_760i /* 网站首页中栏内容表格背景、文字颜色定义(760) */
{
border: 1px solid #d2d3d9;line-text-align: left;padding-left:5;padding-right:5;
}
.main_title_575 { font-weight: bold; color: #ffffff; background-image:
               url('../Local%20Settings/Temporary%20Internet%20Files/Content.IE5/0D4XB7ME/main_bs1.gif');
               border-right: 1px solid #1c65be; padding-left:
               30px }
.main_title_bs06 { color: ffffff; text-align: left; background-image:
               url('../Local%20Settings/Temporary%20Internet%20Files/Content.IE5/0D4XB7ME/main_bs.gif');
               font-weight: bold; border-right: 1px solid #1c65be;
               padding-left: 30px }
.main_tdbg_bsd06 { color: ffffff; background-image:
               url('../Local%20Settings/Temporary%20Internet%20Files/Content.IE5/0D4XB7ME/main_02.gif') }
.main_tdbg_bs06 { line- text-align: left; background-image:
               url('../Local%20Settings/Temporary%20Internet%20Files/Content.IE5/0D4XB7ME/main_bg.gif');
               background-color: #ffffff; border-left: 1px solid #aec6e8;
               border-right: 1px solid #aec6e8;
               border-bottom: 1px solid #aec6e8; padding-left: 5;
               padding-right: 5 }
.main2_tdbg_bs06 { line- text-align: left; background-image:
               url('../Local%20Settings/Temporary%20Internet%20Files/Content.IE5/0D4XB7ME/main_bg.gif');
               background-color: #ffffff; border-left: 1px dashed #aec6e8;
               padding-left: 5; padding-right: 5 }
.main_tdbg_575 /* 中栏内容表格背景、文字颜色定义(575) */
{
border: 1px solid #d2d3d9;line-text-align: left;padding-left:5;padding-right:5;
}
.main_title_282i, .main_title_282 { background-image:
               url('../Local%20Settings/Temporary%20Internet%20Files/Content.IE5/0D4XB7ME/main_bs.gif');
               background-repeat: repeat; background-attachment: scroll;
               color: ffffff; text-align: left; font-weight: bold;
               border-right: 1px solid #1c65be; padding-left: 30;
               background-position: 0% }
.main_tdbg_282i /* 栏目文章列表内容表格背景、文字颜色定义(282) */
{
border: 1px solid #d2d3d9;line-text-align: left;padding-left:5;padding-right:5;
}
.main_tdbg_282 /* 栏目文章列表内容表格背景、文字颜色定义(282) */
{
border: 1px solid #d2d3d9;line-text-align: left;padding-left:5;padding-right:5;
}
.listbg /* --栏目文章列表内容间隔颜色的定义1-- */
{
background:#ffffff;
}
.listbg2 /* --栏目文章列表内容间隔颜色的定义2-- */
{
background:#f7f7f7;
}
  /* --网页中部中栏的css定义结束-- */
  /* --文章显示页的css定义开始-- */
.main_articletitle /* 主标题文字颜色定义 */
{
color: ff0000;font-weight:bold;font-size: 18;line-
}
.main_articlesubheading /* 副标题文字颜色定义 */
{
color: 037fa8;font-weight:bold;line-
}
.main_title_760 { background-image:
               url('../Local%20Settings/Temporary%20Internet%20Files/Content.IE5/0D4XB7ME/main_bs1.gif');
               background-repeat: repeat; background-attachment: scroll;
               color: ffffff; border: 1px solid #d2d3d9;
               background-position: 0% }
.main_tdbg_760 /* 内容表格背景、文字颜色定义(760) */
{
border: 1px solid #d2d3d9;padding: 8;line-
}
.article_tdbgall /* 责编等表格背景、文字颜色定义(760) */
{
background:#f5f5f5;
}
  /* --文章显示页的css定义结束-- */
  /* --留言频道css定义开始-- */
/* 留言栏目标题文字链接的css定义--调用代码为<a class='guest' ***>***</a> */
a.guest:link {color: #ffffff;}
a.guest:visited {color: #ffffff;}
a.guest:hover{color: #ff0000;}
a.guest:active {color: #ffffff;}
.guest_title_760 { background-image:
               url('../Local%20Settings/Temporary%20Internet%20Files/Content.IE5/0D4XB7ME/main_bs1.gif');
               background-repeat: repeat; background-attachment: scroll;
               color: ff0000; border: 1px solid #d2d3d9;
               padding-left: 5; background-position: 0% }
.guest_tdbg_760 /* 内容表格背景、文字颜色定义(760) */
{
border: 1px solid #d2d3d9;padding: 8;
}
.guest_border /* 蓝色表格边框背景颜色定义(760) */
{
border: 1px solid #449ae8;
}
.guest_title /* 标题背景颜色定义(760) */
{
background:#449ae8;color: #ffffff;font-weight: normal;
}
.guest_tdbg /* 表格背景颜色定义(760) */
{
background:#fafafa;line-
}
/* ==网页中部中的css定义结束== */
/* ==bottom.asp中的css定义开始== */
.bottom_tdbgall /* 底部表格总背景颜色定义 */
{
width: 760;background:#ffffff;
}
.bottom_adminlogo /* 管理信息表格背景、文字颜色定义 */
{
background:#0089f7;color:#ffffff;
}
.bottom_copyright /* 版权信息表格背景、文字颜色定义 */
{
background:#ffffff;color:#000000;
}
/* ==bottom.asp中的css定义结束== */
/* ==自选风格中的css定义结束== */
.menu
{
background-color: #cccccc;width:97%;border: 1px;
}
.menubody
{
background-color: #ffffff;
}
/* ==自选风格中的css定义结束== */
.channel_font /* 搜索等特殊文字颜色定义 */
{
color: red;
}
/* --评论显示页的css定义开始-- */
.guest_font /* 隐藏、用户等特殊文字颜色定义 */
{
color: green;
}
/* --评论显示页css定义结束-- */
/* --留言频道css定义开始-- */
/* 留言栏目标题文字链接的css定义--调用代码为<a class='guest' ***>***</a> */
a.guest:link {color: #000000;}
a.guest:visited {color: #000000;}
a.guest:hover{color: #ff6600;}
a.guest:active {color: #000000;}
/* 站内链接文字颜色定义 */
a.channel_keylink{text-decoration: underline;}
a.channel_keylink:link {color: blue;}
a.channel_keylink:visited {color: blue;}
a.channel_keylink:hover{color: #ff0000;}
a.channel_keylink:active {color: blue;}
/* --用户控制css定义开始-- */
.user_left /*左区块定义*/
{
background:#f3f3f3;width:170px;padding-left: 4px;border-left-width: 2px;border-left-style: solid;border-left-color: #ffffff;padding-right: 4px;
}
.user_box/*左区块内标题栏定义*/
{
border: 1px solid #bfbfbf;background-color: #ffffff;border-collapse:15;
}
.user_righttitle {
background-color: #f3f3f3;padding-top: 5px;padding-right: 5px;padding-bottom: 1px;padding-left: 5px;
border-top-width: 2px;border-right-width: 2px;border-bottom-width: 1px;border-left-width: 2px;
border-top-style: solid;border-right-style: solid;border-bottom-style: solid;border-left-style: solid;
border-top-color: #ffffff;border-right-color: #ffffff;border-bottom-color: #bfbfbf;border-left-color: #ffffff;
}
.user_line   { line- background-image:
               url('../Local%20Settings/Temporary%20Internet%20Files/Content.IE5/0D4XB7ME/line.gif') }
.user_toolstop/*左区块内标题栏定义*/
{
line-font-size: 12px;font-weight: bold;color: #666666;padding-left: 10px;letter-spacing: 4pt;
}
.user_toolsbot/*左区块内内容定义*/
{
line-font-size: 12px;color: #666666;border-right-width: 4px;border-right-style: solid;border-right-color: #ffffff;
}
.user_toolspoint/*区块内箭头栏定义*/
{
padding-left: 6px;
}
/*用户控制面板右*/
.user_right {
background-color: #ffffff;padding-right: 2px;padding-left: 6px;width:572px;
}
.border1
{
border: 1px solid #bfbfbf;
}
.title
{
background:#449ae8;color: #ffffff;font-weight: normal;
}
.border
{
border: 1px solid #449ae8;
}
.tdbg
{
background:#f0f0f0;line-
}
.tdbgmouseover{
background:#bfdfff;line-
}
.tdbg2
{
background:#e0eef5;line-
}
.tdbg5
{
background:#e0eef5;line-
}
.title5      { width: 80px; background-image:
               url('../Local%20Settings/Temporary%20Internet%20Files/Content.IE5/0D4XB7ME/titlebg2.gif');
               background-repeat: repeat; background-attachment: scroll;
               line- cursor: hand; padding-top: 2px;
               background-position: 0% }
.title6      { width: 80px; background-image:
               url('../Local%20Settings/Temporary%20Internet%20Files/Content.IE5/0D4XB7ME/titlebg1.gif');
               background-repeat: repeat; background-attachment: scroll;
               color: #ffffff; font-weight: normal; cursor: hand;
               padding-top: 2px; background-position: 0% }
.button1
{
width:90px;
}
.show_page {
text-align: center;
}

/* 固定排课表格表格的css定义*/
.date_border
{
border: 1px solid ;
}
.date_title
{
background:#449ae8;color: #ffffff;font-weight: normal;
}
.date_tdbg
{
background:#449ae8;color: #ffffff;font-weight: normal;
}
.style2
{
font-size: 10px;
}
.style3
{
font-size: 12px;
}
/* ==rss连接框定义== */
#popitmenu {
    border-right: black 1px solid; border-top: black 1px solid; z-index: 100; visibility: hidden; font: 12px/18px verdana; border-left: black 1px solid; border-bottom: black 1px solid; position: absolute; background-color: white
}
#popitmenu a {
    display: block; padding-left: 6px; color: black; text-decoration: none;
}
#popitmenu a:hover {
    background-color: #ccff9d;
}
/* ==用户登录框定义== */
.userbox     { background-image:
               url('../Local%20Settings/Temporary%20Internet%20Files/Content.IE5/0D4XB7ME/login_02b.gif');
               background-repeat: no-repeat; background-attachment: scroll;
               height: 93px; background-position: center }
#userlogined
{
    padding-left:10;text-align: left;
}
#userlogin input{height:20px;}
#userctrl
{
    text-align: center;
}
#usermessage
{
    padding-left:10;text-align: left;
}
.userlog{
color:#ffffff;
}
.havemessage
{
    background-color: #ccff9d;
}
.havemessaged
{
    background-color: #cc0000;
}
.right_tdbgbs06 {
padding: 5px; background-color: #e6f5ff; border-width: 1px;
 border-top-style: none; border-bottom-style: none; border-color: #a4c6fc;border-right-style: solid;border-left-style: solid;
}
.right_tdbg2 { background-image:
               url('../Local%20Settings/Temporary%20Internet%20Files/Content.IE5/0D4XB7ME/tdbg_bottom.gif');
               background-repeat: no-repeat; height: 10px }
.main_title_bsf { font-weight: bold; color: #ffffff; background-image:
               url('../Local%20Settings/Temporary%20Internet%20Files/Content.IE5/0D4XB7ME/main_bs1.gif');
               border-right: 1px solid #1c65be; padding-left:
               30px }
.mainblinks  { background-image:
               url('../Local%20Settings/Temporary%20Internet%20Files/Content.IE5/0D4XB7ME/links_02.gif');
               font-weight: bold; color: #ffffff }
/* 网站顶部的css定义:可定义内容为链接字体颜色、样式等 www.cn01.com.cn */
.menu_topbg  { color: #ffffff; background-image:
               url('../Local%20Settings/Temporary%20Internet%20Files/Content.IE5/0D4XB7ME/Top_Main_Bg.gif');
               height: 80px }
/* 网站底部版权信息的css定义:可定义内容为链接字体颜色、样式等 www.cn01.com.cn */
.menu_bottombg { color: #ffffff; background-image:
               url('../Local%20Settings/Temporary%20Internet%20Files/Content.IE5/0D4XB7ME/menu_bottombg.gif');
               height: 31px }
.bottom_bg   { background-image:
               url('../Local%20Settings/Temporary%20Internet%20Files/Content.IE5/0D4XB7ME/bottom_bg.gif') }
.showa {
 color: #aed2fe;
}
/* 增栏菜单的css定义-- www.cn01.com.cn */
.menu_s      { color: #ffffff; height: 26px; text-align: center; background-image:
               url('../Local%20Settings/Temporary%20Internet%20Files/Content.IE5/0D4XB7ME/menu_bg.jpg') }
/* --公告显示文字(滚动条)的css定义开始-- */
.AnnounceBody2 {color:#ffffff;}
a.AnnounceBody2:link {color: #ffffff;}
a.AnnounceBody2:visited {color: #ffffff;}
a.AnnounceBody2:hover{color: #ffff00;}
a.AnnounceBody2:active {color: #ffffff;}
/* --公告显示文字(滚动框)的css定义开始-- */
.AnnounceBody1 {color:#333;}
a.AnnounceBody1:link {color: #333333;}
a.AnnounceBody1:visited {color: #333333;}
a.AnnounceBody1:hover{color: #ff0000;}
a.AnnounceBody1:active {color: #333333;}
/* --公告显示文字(滚动框、滚动条)的css定义结束-- */
hr
{
height:1px;
color:#5575B0;
}
相关阅读 更多 +
排行榜 更多 +
辰域智控app

辰域智控app

系统工具 下载
网医联盟app

网医联盟app

运动健身 下载
汇丰汇选App

汇丰汇选App

金融理财 下载