如图所示:
在jsp中引入:
<link rel="stylesheet" type="text/css" href="/javascript/pe/css/style.css">
Style.css 代码:
.myOtherGridCell {
font-family:Verdana,Bitstream Vera Sans,sans-serif; font-size:11px;
color:black;
border-bottom:1px solid #a0a0a0;border-right:1px solid #a0a0a0;
background-color:#ffffff;
}
.myOtherGridCellDark {
font-family:Verdana,Bitstream Vera Sans,sans-serif; font-size:11px;
color:black;
border-bottom:1px solid #a0a0a0;border-right:1px solid #a0a0a0;
background-color:#f0f0e8;
}
.myOtherGridCellOver,
.myOtherGridCellOverDark {
font-family:Verdana,Bitstream Vera Sans,sans-serif; font-size:11px;
color:black;
border-bottom:1px solid #a0a0a0;border-right:1px solid #a0a0a0;
background-color:#c0ffc0;
}
.myOtherGridCellSelected,
.myOtherGridCellSelectedDark {
font-family:Verdana,Bitstream Vera Sans,sans-serif; font-size:11px;
color:black;
border-bottom:1px solid #a0a0a0;border-right:1px solid #a0a0a0;
background-color:#c0c0ff;
}
.myOtherGridCellSelectedOver,
.myOtherGridCellSelectedOverDark {
font-family:Verdana,Bitstream Vera Sans,sans-serif; font-size:11px;
color:black;
border-bottom:1px solid #a0a0a0;border-right:1px solid #a0a0a0;
background-color:#e0e0ff;
}
.myOtherGridCellDisabled {
font-family:Verdana,Bitstream Vera Sans,sans-serif; font-size:11px;
color:#808080;
border-bottom:1px solid #a0a0a0;border-right:1px solid #a0a0a0;
background-color:#ffffff;
}
.myOtherGridCellDisabledDark {
font-family:Verdana,Bitstream Vera Sans,sans-serif; font-size:11px;
color:#808080;
border-bottom:1px solid #a0a0a0;border-right:1px solid #a0a0a0;
background-color:#f0f0e8;
}