旧风格新用修改法(5.x的风格修改适用6.x)
1:用记事本打开风格目录的bbs.js文件,查找:
function bbsxptop(){
和:
function bbsxpbottom(){
分别修改为:
function BBSxpTop(){
function BBSxpBottom(){
2:打开风格目录的bbs.css文件
在#TableTitleLink a:link, #TableTitleLink a:visited......
整句完结到
.menuitems { 这句开始前
加上这段代码:
}
.CommonImageTextButton {
BORDER-RIGHT: #999999 1px solid; PADDING-RIGHT: 4px; BACKGROUND-POSITION: 1px 1px; BORDER-TOP: #cccccc 1px solid; DISPLAY: inline-block; PADDING-LEFT: 22px; FONT-WEIGHT: bold; FONT-SIZE: 100%; PADDING-BOTTOM: 4px; MARGIN: 1px; BORDER-LEFT: #cccccc 1px solid; COLOR: #333333; LINE-HEIGHT: normal; PADDING-TOP: 4px; BORDER-BOTTOM: #999999 1px solid; BACKGROUND-REPEAT: no-repeat; BACKGROUND-COLOR: #eeeeee
}
.CommonImageTextButton:visited {
COLOR: #333333; TEXT-DECORATION: none
}
.CommonImageTextButton:hover {
COLOR: #333333; BACKGROUND-COLOR: #dddddd; TEXT-DECORATION: underline
}
TD.StatusBarBtnOff {padding:1px 5px;border:1px outset;cursor:pointer;}
TD.StatusBarBtnOn {padding:1px 5px;border:1px inset;background-color: #EEEEEE;}
.menuskin {
BACKGROUND-IMAGE: url('menubg.gif');
POSITION: absolute;
VISIBILITY: hidden;
border: 1px solid #8FB443
}
下面是我修改的一个文件。供大家参考,红色地方是加了代码的
A:visited{color=black;TEXT-DECORATION:none}
A:link{color=black;text-decoration:none}
A:hover{color=#EC5E7C;text-decoration: none;position: relative; top: 1.5px; left: 1.5px;}
input {
font-family: "宋体";
font-size: 9pt;
background-image: url('input.gif');
background-position:
left top;
border: 1px solid #ffffff;
color: #253C15
}
div, form, p, td, body, textarea, select {FONT-SIZE:12px;COLOR:434951;FONT-FAMILY:tahoma,宋体;}
BODY {
background-image: url('bg.gif');
background-position: center 50%;
background-repeat:repeat-y;
SCROLLBAR-base-COLOR: #F8F8F8;
scrollbar-arrow-color: #111111
}
#TableTitleLink a:link, #TableTitleLink a:visited{COLOR:000000;}
.a1{BACKGROUND-image: url('hard.gif');}
.a2{BACKGROUND-COLOR: cccccc;}
.a3{BACKGROUND-COLOR: F8F8F8;}
.a4{BACKGROUND-COLOR: FFFFFF;}
.menuskin {
BORDER-RIGHT: 1px solid #999999;
BORDER-TOP: 1px solid #eeeeee;
BORDER-LEFT: 1px solid #eeeeee;
BORDER-BOTTOM: 1px solid #999999;
BACKGROUND-IMAGE: url('menubg.gif');
POSITION: absolute;
VISIBILITY: hidden;
FILTER: alpha(opacity=85)progid:DXImageTransform.Microsoft.Shadow(Color=#999999,Direction=120,strength=4)
}
.CommonImageTextButton {
BORDER-RIGHT: #999999 1px solid; PADDING-RIGHT: 4px; BACKGROUND-POSITION: 1px 1px; BORDER-TOP: #cccccc 1px solid; DISPLAY: inline-block; PADDING-LEFT: 22px; FONT-WEIGHT: bold; FONT-SIZE: 100%; PADDING-BOTTOM: 4px; MARGIN: 1px; BORDER-LEFT: #cccccc 1px solid; COLOR: #333333; LINE-HEIGHT: normal; PADDING-TOP: 4px; BORDER-BOTTOM: #999999 1px solid; BACKGROUND-REPEAT: no-repeat; BACKGROUND-COLOR: #eeeeee
}
.CommonImageTextButton:visited {
COLOR: #333333; TEXT-DECORATION: none
}
.CommonImageTextButton:hover {
COLOR: #333333; BACKGROUND-COLOR: #dddddd; TEXT-DECORATION: underline
}
TD.StatusBarBtnOff {padding:1px 5px;border:1px outset;cursor:pointer;}
TD.StatusBarBtnOn {padding:1px 5px;border:1px inset;background-color: #EEEEEE;}
.menuskin {
BACKGROUND-IMAGE: url('menubg.gif');
POSITION: absolute;
VISIBILITY: hidden;
border: 1px solid #8FB443
}
.menuitems {
PADDING-RIGHT: 1px;
PADDING-TOP: 1px;
PADDING-LEFT: 1px;
PADDING-BOTTOM: 1px;
MARGIN: 2px;
font-size:9pt;
line-height:14pt;
}
#mouseoverstyle {
PADDING-RIGHT: 1px;
PADDING-LEFT: 1px;
PADDING-BOTTOM: 1px;
PADDING-TOP: 1px;
}
.menuskin A {PADDING-RIGHT:10px;PADDING-LEFT:30px;}
textarea{BACKGROUND:url('inputbg.gif'); }
登录后方可回帖