想修改CSS
下载了一个“通用”的CSS文件,本来想偷懒的,结果发现有问题,就是它用的颜色是变量定义的,无法识别。我又找不到在哪里可以定义。
搜索了一下,似乎 param也不行,看来只好用笨办法了。
学习……
BODY{
BACKGROUND-COLOR:BGCOLOR;
BACKGROUND-IMAGE: URL('../IMAGES/BACKGROUD.GIF');
BACKGROUND-POSITION-X: CENTER;
BACKGROUND-POSITION-Y: CENTER;
SCROLLBAR-FACE-COLOR: #FFFFFF;
SCROLLBAR-HIGHLIGHT-COLOR:BGCOLOR;
SCROLLBAR-SHADOW-COLOR: BGCOLOR;
SCROLLBAR-3DLIGHT-COLOR:#FFFFFF;
SCROLLBAR-ARROW-COLOR: BGCOLOR;
SCROLLBAR-TRACK-COLOR:#FFFFFF;
SCROLLBAR-DARKSHADOW-COLOR: #FFFFFF;
}
TD, SELECT, INPUT, DIV, TEXTAREA{
FONT-FAMILY: "VERDANA","ARIAL", "SANS-SERIF","宋体";
FONT-SIZE:12PX; COLOR: TDFONTCOLOR;
LINE-HEIGHT: 140%;
}
A:LINK{
COLOR:LINKCOLOR;
TEXT-DECORATION: NONE;
}
A:VISITED{
COLOR:LINKCOLOR;
TEXT-DECORATION: NONE;
}
A:HOVER{
COLOR:HOVERCOLOR ;
TEXT-DECORATION: NONE;
}
A:ACTIVE{
TEXT-DECORATION: NONE;
}
P{
TEXT-INDENT: 2EM;PADDING-TOP:5PX;PADDING-LEFT:8PX;PADDING-RIGHT:8PX;PADDING-BOTTOM:5PX;
}
.P {
PADDING-TOP:5PX;PADDING-LEFT:8PX;PADDING-RIGHT:8PX;PADDING-BOTTOM:5PX;
}
.LINK2 A:LINK{
COLOR:LINK2COLOR;
TEXT-DECORATION: NONE;
}
.LINK2 A:VISITED{
COLOR:LINK2COLOR;
TEXT-DECORATION: NONE;
}
.LINK2 A:HOVER{
COLOR:HOVER2COLOR;
TEXT-DECORATION:NONE;
}
.LINK2 A:ACTIVE{
TEXT-DECORATION: NONE;
}
.ENGLISH{
FONT-FAMILY:"VERDANA","ARIAL","SANS-SERIF";
FONT-SIZE:10PX; COLOR: TDFONTCOLOR;
LINE-HEIGHT: 140%;
}
.CHINESEFONT14PX{
FONT-FAMILY: "VERDANA","ARIAL", "SANS-SERIF","宋体";
FONT-SIZE: 14PX; COLOR: TDFONTCOLOR;
FONT-WEIGHT: BOLD;
LINE-HEIGHT: 150%;
}
.BG-NO-LB{
BACKGROUND-REPEAT: NO-REPEAT;
BACKGROUND-POSITION: LEFT BOTTOM;
}
.BG-NO-RB{
BACKGROUND-REPEAT: NO-REPEAT;
BACKGROUND-POSITION: RIGHT BOTTOM;
}
.BG-NO-C{
BACKGROUND-REPEAT: NO-REPEAT;
BACKGROUND-POSITION: CENTER;
}
.BG-X-TOP{
BACKGROUND-REPEAT: REPEAT-X;
BACKGROUND-POSITION-Y: TOP;
}
.INPUT {
FONT-FAMILY: "VERDANA","ARIAL", "SANS-SERIF","宋体";
FONT-SIZE: 12PX;
BACKGROUND-COLOR:#FFFFFF;
BORDER-RIGHT: #E5E5E5 1PX SOLID;
BORDER-TOP: #E5E5E5 1PX SOLID;
BORDER-LEFT: #E5E5E5 1PX SOLID;
BORDER-BOTTOM: #E5E5E5 1PX SOLID;
}
.TEXTAREA {
FONT-FAMILY: "VERDANA","ARIAL", "SANS-SERIF","宋体";
FONT-SIZE: 12PX;
BACKGROUND-COLOR:#FFFFFF;
BORDER-RIGHT: #E5E5E5 1PX SOLID;
BORDER-TOP: #E5E5E5 1PX SOLID;
BORDER-LEFT: #E5E5E5 1PX SOLID;
BORDER-BOTTOM: #E5E5E5 1PX SOLID;
OVERFLOW: AUTO;
}
/* 1PX BORDER FOR ALL TD IN TABLE*/
.TABLE{
BORDER-COLLAPSE:COLLAPSE
}
/*---OTHER--BODER---SOLID---||||---1PX SOLID BORDER FOR ANY TD SIDE*/
.BGB{
BORDER-RIGHT: #E5E5E5 1PX SOLID;
BORDER-TOP: #E5E5E5 1PX SOLID;
BORDER-LEFT: #E5E5E5 1PX SOLID;
BORDER-BOTTOM: #E5E5E5 1PX SOLID;
}
.NBB{
BORDER-RIGHT: #E5E5E5 1PX SOLID;
BORDER-TOP: #E5E5E5 1PX SOLID;
BORDER-LEFT: #E5E5E5 1PX SOLID;
}
.NTB{
BORDER-RIGHT: #E5E5E5 1PX SOLID;
BORDER-LEFT: #E5E5E5 1PX SOLID;
BORDER-BOTTOM: #E5E5E5 1PX SOLID;
}
.NLB{
BORDER-RIGHT: #E5E5E5 1PX SOLID;
BORDER-TOP: #E5E5E5 1PX SOLID;
BORDER-BOTTOM: #E5E5E5 1PX SOLID;
}
.NRB{
BORDER-TOP: #E5E5E5 1PX SOLID;
BORDER-LEFT: #E5E5E5 1PX SOLID;
BORDER-BOTTOM: #E5E5E5 1PX SOLID;
}
.BOLB{
BORDER-LEFT: #E5E5E5 1PX SOLID;
BORDER-BOTTOM: #E5E5E5 1PX SOLID;
}
.BOTB{
BORDER-TOP: #E5E5E5 1PX SOLID;
BORDER-BOTTOM: #E5E5E5 1PX SOLID;
}
.BORB{
BORDER-RIGHT: #E5E5E5 1PX SOLID;
BORDER-BOTTOM: #E5E5E5 1PX SOLID;
}
.LORB{
BORDER-RIGHT: #E5E5E5 1PX SOLID;
BORDER-LEFT: #E5E5E5 1PX SOLID;
}
.TOLB{
BORDER-TOP: #E5E5E5 1PX SOLID;
BORDER-LEFT: #E5E5E5 1PX SOLID;
}
.TORB{
BORDER-RIGHT: #E5E5E5 1PX SOLID;
BORDER-TOP: #E5E5E5 1PX SOLID;
}
.TB{
BORDER-TOP: #E5E5E5 1PX SOLID;
}
.BB{
BORDER-BOTTOM: #E5E5E5 1PX SOLID;
}
.LB{
BORDER-LEFT: #E5E5E5 1PX SOLID;
}
.RB{
BORDER-RIGHT: #E5E5E5 1PX SOLID;
}
/*---OTHER--BODER---DASHED---||||---1PX DASHED BORDER FOR ANY TD SIDE ||||-- JUST FOR IE5.5+ --||||*/
.BGB-D{
BORDER-RIGHT: #E5E5E5 1PX DASHED;
BORDER-TOP: #E5E5E5 1PX DASHED;
BORDER-LEFT: #E5E5E5 1PX DASHED;
BORDER-BOTTOM: #E5E5E5 1PX DASHED;
}
.NBB-D{
BORDER-RIGHT: #E5E5E5 1PX DASHED;
BORDER-TOP: #E5E5E5 1PX DASHED;
BORDER-LEFT: #E5E5E5 1PX DASHED;
}
.NTB-D{
BORDER-RIGHT: #E5E5E5 1PX DASHED;
BORDER-LEFT: #E5E5E5 1PX DASHED;
BORDER-BOTTOM: #E5E5E5 1PX DASHED;
}
.NLB-D{
BORDER-RIGHT: #E5E5E5 1PX DASHED;
BORDER-TOP: #E5E5E5 1PX DASHED;
BORDER-BOTTOM: #E5E5E5 1PX DASHED;
}
.NRB-D{
BORDER-TOP: #E5E5E5 1PX DASHED;
BORDER-LEFT: #E5E5E5 1PX DASHED;
BORDER-BOTTOM: #E5E5E5 1PX DASHED;
}
.BOLB-D{
BORDER-LEFT: #E5E5E5 1PX DASHED;
BORDER-BOTTOM: #E5E5E5 1PX DASHED;
}
.BOTB-D{
BORDER-TOP: #E5E5E5 1PX DASHED;
BORDER-BOTTOM: #E5E5E5 1PX DASHED;
}
.BORB-D{
BORDER-RIGHT: #E5E5E5 1PX DASHED;
BORDER-BOTTOM: #E5E5E5 1PX DASHED;
}
.LORB-D{
BORDER-RIGHT: #E5E5E5 1PX DASHED;
BORDER-LEFT: #E5E5E5 1PX DASHED;
}
.TOLB-D{
BORDER-TOP: #E5E5E5 1PX DASHED;
BORDER-LEFT: #E5E5E5 1PX DASHED;
}
.TORB-D{
BORDER-RIGHT: #E5E5E5 1PX DASHED;
BORDER-TOP: #E5E5E5 1PX DASHED;
}
.TB-D{
BORDER-TOP: #E5E5E5 1PX DASHED;
}
.BB-D{
BORDER-BOTTOM: #E5E5E5 1PX DASHED;
}
.LB-D{
BORDER-LEFT: #E5E5E5 1PX DASHED;
}
.RB-D{
BORDER-RIGHT: #E5E5E5 1PX DASHED;
}
开始想是不是在顶部定义,结果在DW下验证,不行。BACKGROUND-COLOR:BGCOLOR;
BACKGROUND-IMAGE: URL('../IMAGES/BACKGROUD.GIF');
BACKGROUND-POSITION-X: CENTER;
BACKGROUND-POSITION-Y: CENTER;
SCROLLBAR-FACE-COLOR: #FFFFFF;
SCROLLBAR-HIGHLIGHT-COLOR:BGCOLOR;
SCROLLBAR-SHADOW-COLOR: BGCOLOR;
SCROLLBAR-3DLIGHT-COLOR:#FFFFFF;
SCROLLBAR-ARROW-COLOR: BGCOLOR;
SCROLLBAR-TRACK-COLOR:#FFFFFF;
SCROLLBAR-DARKSHADOW-COLOR: #FFFFFF;
}
TD, SELECT, INPUT, DIV, TEXTAREA{
FONT-FAMILY: "VERDANA","ARIAL", "SANS-SERIF","宋体";
FONT-SIZE:12PX; COLOR: TDFONTCOLOR;
LINE-HEIGHT: 140%;
}
A:LINK{
COLOR:LINKCOLOR;
TEXT-DECORATION: NONE;
}
A:VISITED{
COLOR:LINKCOLOR;
TEXT-DECORATION: NONE;
}
A:HOVER{
COLOR:HOVERCOLOR ;
TEXT-DECORATION: NONE;
}
A:ACTIVE{
TEXT-DECORATION: NONE;
}
P{
TEXT-INDENT: 2EM;PADDING-TOP:5PX;PADDING-LEFT:8PX;PADDING-RIGHT:8PX;PADDING-BOTTOM:5PX;
}
.P {
PADDING-TOP:5PX;PADDING-LEFT:8PX;PADDING-RIGHT:8PX;PADDING-BOTTOM:5PX;
}
.LINK2 A:LINK{
COLOR:LINK2COLOR;
TEXT-DECORATION: NONE;
}
.LINK2 A:VISITED{
COLOR:LINK2COLOR;
TEXT-DECORATION: NONE;
}
.LINK2 A:HOVER{
COLOR:HOVER2COLOR;
TEXT-DECORATION:NONE;
}
.LINK2 A:ACTIVE{
TEXT-DECORATION: NONE;
}
.ENGLISH{
FONT-FAMILY:"VERDANA","ARIAL","SANS-SERIF";
FONT-SIZE:10PX; COLOR: TDFONTCOLOR;
LINE-HEIGHT: 140%;
}
.CHINESEFONT14PX{
FONT-FAMILY: "VERDANA","ARIAL", "SANS-SERIF","宋体";
FONT-SIZE: 14PX; COLOR: TDFONTCOLOR;
FONT-WEIGHT: BOLD;
LINE-HEIGHT: 150%;
}
.BG-NO-LB{
BACKGROUND-REPEAT: NO-REPEAT;
BACKGROUND-POSITION: LEFT BOTTOM;
}
.BG-NO-RB{
BACKGROUND-REPEAT: NO-REPEAT;
BACKGROUND-POSITION: RIGHT BOTTOM;
}
.BG-NO-C{
BACKGROUND-REPEAT: NO-REPEAT;
BACKGROUND-POSITION: CENTER;
}
.BG-X-TOP{
BACKGROUND-REPEAT: REPEAT-X;
BACKGROUND-POSITION-Y: TOP;
}
.INPUT {
FONT-FAMILY: "VERDANA","ARIAL", "SANS-SERIF","宋体";
FONT-SIZE: 12PX;
BACKGROUND-COLOR:#FFFFFF;
BORDER-RIGHT: #E5E5E5 1PX SOLID;
BORDER-TOP: #E5E5E5 1PX SOLID;
BORDER-LEFT: #E5E5E5 1PX SOLID;
BORDER-BOTTOM: #E5E5E5 1PX SOLID;
}
.TEXTAREA {
FONT-FAMILY: "VERDANA","ARIAL", "SANS-SERIF","宋体";
FONT-SIZE: 12PX;
BACKGROUND-COLOR:#FFFFFF;
BORDER-RIGHT: #E5E5E5 1PX SOLID;
BORDER-TOP: #E5E5E5 1PX SOLID;
BORDER-LEFT: #E5E5E5 1PX SOLID;
BORDER-BOTTOM: #E5E5E5 1PX SOLID;
OVERFLOW: AUTO;
}
/* 1PX BORDER FOR ALL TD IN TABLE*/
.TABLE{
BORDER-COLLAPSE:COLLAPSE
}
/*---OTHER--BODER---SOLID---||||---1PX SOLID BORDER FOR ANY TD SIDE*/
.BGB{
BORDER-RIGHT: #E5E5E5 1PX SOLID;
BORDER-TOP: #E5E5E5 1PX SOLID;
BORDER-LEFT: #E5E5E5 1PX SOLID;
BORDER-BOTTOM: #E5E5E5 1PX SOLID;
}
.NBB{
BORDER-RIGHT: #E5E5E5 1PX SOLID;
BORDER-TOP: #E5E5E5 1PX SOLID;
BORDER-LEFT: #E5E5E5 1PX SOLID;
}
.NTB{
BORDER-RIGHT: #E5E5E5 1PX SOLID;
BORDER-LEFT: #E5E5E5 1PX SOLID;
BORDER-BOTTOM: #E5E5E5 1PX SOLID;
}
.NLB{
BORDER-RIGHT: #E5E5E5 1PX SOLID;
BORDER-TOP: #E5E5E5 1PX SOLID;
BORDER-BOTTOM: #E5E5E5 1PX SOLID;
}
.NRB{
BORDER-TOP: #E5E5E5 1PX SOLID;
BORDER-LEFT: #E5E5E5 1PX SOLID;
BORDER-BOTTOM: #E5E5E5 1PX SOLID;
}
.BOLB{
BORDER-LEFT: #E5E5E5 1PX SOLID;
BORDER-BOTTOM: #E5E5E5 1PX SOLID;
}
.BOTB{
BORDER-TOP: #E5E5E5 1PX SOLID;
BORDER-BOTTOM: #E5E5E5 1PX SOLID;
}
.BORB{
BORDER-RIGHT: #E5E5E5 1PX SOLID;
BORDER-BOTTOM: #E5E5E5 1PX SOLID;
}
.LORB{
BORDER-RIGHT: #E5E5E5 1PX SOLID;
BORDER-LEFT: #E5E5E5 1PX SOLID;
}
.TOLB{
BORDER-TOP: #E5E5E5 1PX SOLID;
BORDER-LEFT: #E5E5E5 1PX SOLID;
}
.TORB{
BORDER-RIGHT: #E5E5E5 1PX SOLID;
BORDER-TOP: #E5E5E5 1PX SOLID;
}
.TB{
BORDER-TOP: #E5E5E5 1PX SOLID;
}
.BB{
BORDER-BOTTOM: #E5E5E5 1PX SOLID;
}
.LB{
BORDER-LEFT: #E5E5E5 1PX SOLID;
}
.RB{
BORDER-RIGHT: #E5E5E5 1PX SOLID;
}
/*---OTHER--BODER---DASHED---||||---1PX DASHED BORDER FOR ANY TD SIDE ||||-- JUST FOR IE5.5+ --||||*/
.BGB-D{
BORDER-RIGHT: #E5E5E5 1PX DASHED;
BORDER-TOP: #E5E5E5 1PX DASHED;
BORDER-LEFT: #E5E5E5 1PX DASHED;
BORDER-BOTTOM: #E5E5E5 1PX DASHED;
}
.NBB-D{
BORDER-RIGHT: #E5E5E5 1PX DASHED;
BORDER-TOP: #E5E5E5 1PX DASHED;
BORDER-LEFT: #E5E5E5 1PX DASHED;
}
.NTB-D{
BORDER-RIGHT: #E5E5E5 1PX DASHED;
BORDER-LEFT: #E5E5E5 1PX DASHED;
BORDER-BOTTOM: #E5E5E5 1PX DASHED;
}
.NLB-D{
BORDER-RIGHT: #E5E5E5 1PX DASHED;
BORDER-TOP: #E5E5E5 1PX DASHED;
BORDER-BOTTOM: #E5E5E5 1PX DASHED;
}
.NRB-D{
BORDER-TOP: #E5E5E5 1PX DASHED;
BORDER-LEFT: #E5E5E5 1PX DASHED;
BORDER-BOTTOM: #E5E5E5 1PX DASHED;
}
.BOLB-D{
BORDER-LEFT: #E5E5E5 1PX DASHED;
BORDER-BOTTOM: #E5E5E5 1PX DASHED;
}
.BOTB-D{
BORDER-TOP: #E5E5E5 1PX DASHED;
BORDER-BOTTOM: #E5E5E5 1PX DASHED;
}
.BORB-D{
BORDER-RIGHT: #E5E5E5 1PX DASHED;
BORDER-BOTTOM: #E5E5E5 1PX DASHED;
}
.LORB-D{
BORDER-RIGHT: #E5E5E5 1PX DASHED;
BORDER-LEFT: #E5E5E5 1PX DASHED;
}
.TOLB-D{
BORDER-TOP: #E5E5E5 1PX DASHED;
BORDER-LEFT: #E5E5E5 1PX DASHED;
}
.TORB-D{
BORDER-RIGHT: #E5E5E5 1PX DASHED;
BORDER-TOP: #E5E5E5 1PX DASHED;
}
.TB-D{
BORDER-TOP: #E5E5E5 1PX DASHED;
}
.BB-D{
BORDER-BOTTOM: #E5E5E5 1PX DASHED;
}
.LB-D{
BORDER-LEFT: #E5E5E5 1PX DASHED;
}
.RB-D{
BORDER-RIGHT: #E5E5E5 1PX DASHED;
}
搜索了一下,似乎 param也不行,看来只好用笨办法了。
学习……