css文件如下:body { margin-top: 0px; margin-left: 0px}
.TITLE { font-family: 黑体; font-size: 24px; font-style: normal; font-weight: bolder; color: #FF0033; text-decoration: none}
.SUBTITLE { font-family: "宋体"; font-size: 14px; font-style: normal; font-weight: normal; color: #000000; text-decoration: none}
.TIPS { font-family: 黑体; font-size: 16px; font-style: normal; line-height: normal; font-weight: normal; color: #0000CC; text-decoration: none}
.BUTTON { font-family: "楷体_GB2312"; font-size: 24px; font-style: normal; line-height: normal; font-weight: bold; color: #000033; text-decoration: none; background-color: #CCCCCC; cursor: hand; width: 120px; height: 36px; border-top-width: medium; border-right-width: medium; border-bottom-width: medium; border-left-width: medium; text-align: center}
.TIPSTITLE { font-family: 黑体; font-size: 24px; font-style: normal; font-weight: bold; color: #CC0033; text-decoration: none}
.ROW1 {
border-color: #4F789F white black #4F789F;
border-style: solid;
border-top-width: 0px;
border-right-width: 1px;
border-bottom-width: 0px;
border-left-width: 0px;
BACKGROUND-COLOR:white;
height:30px;font-family: "Times New Roman"; font-size: 14px; font-style:
normal; font-weight: normal; color: #6D6D6D; text-decoration: none;}
.ROW2 {
border-color: #4F789F white black #4F789F;
border-style: solid;
border-top-width: 0px;
border-right-width: 1px;
border-bottom-width: 0px;
border-left-width: 0px;
BACKGROUND-COLOR:#f8f3f7;
height:30px;color:#6D6D6D;font-family: "Times New Roman"; font-size: 14px; font-style: normal;
font-weight: normal; text-decoration: none;}
.ROW3 {
border-color: #4F789F white black #4F789F;
border-style: solid;
border-top-width: 0px;
border-right-width: 1px;
border-bottom-width: 0px;
border-left-width: 0px;
BACKGROUND-COLOR:#E96472;
height:27px;color:white;font-family: "黑体", "Times New Roman"; font-size: 16px; font-style: normal;
font-weight: normal; text-decoration: none; text-align: center}
.TIPS0 { font-family: "黑体"; font-size: 18px; font-style: normal; line-height: normal; font-weight: normal; color: black; text-decoration: none}
.TIPS1 { font-family: "宋体"; font-size: 12px; font-style: normal; line-height: normal; font-weight: normal; color: black; text-decoration: none}
.TIPS2 { font-family: "黑体"; font-size: 16px; font-style: normal; line-height: normal; font-weight: normal; color: black; text-decoration: none}
.MenuFont
{
FONT-FAMILY: 宋体;
FONT-SIZE: 14px
}
.MenuButton
{
BORDER-BOTTOM: thin outset #000000;
BORDER-LEFT: thin outset #FFFFFF;
BORDER-RIGHT: thin outset #000000;
BORDER-TOP: thin outset #FFFFFF;
COLOR: #535556;
CURSOR: hand;
FONT-FAMILY: 黑体;
FONT-SIZE: 12pt;
FONT-WEIGHT: normal;
HEIGHT: 30px;
WIDTH: 100px
}.Line1
{
border-color: #4F789F #4F789F black #4F789F;
border-style: solid;
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 0px;
border-left-width: 1px
}
.Line2
{
border-color: #BB0418 #BB0418 #BB0418 #BB0418;
border-style: solid;
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px
}
.BodyLine
{
BORDER-BOTTOM: #FED2CF 1px solid;
BORDER-LEFT: #FED2CF 1px solid;
BORDER-RIGHT: #FED2CF 1px solid;
BORDER-TOP: #FED2CF 1px solid
}
.SpLine
{
border-color: black #FED2CF black black;
border-style: solid;
border-top-width: 0px;
border-right-width: 1px;
border-bottom-width: 0px;
border-left-width: 0px
}.TableHeaderLine
{
BACKGROUND-COLOR: #ffffcc;
BORDER-BOTTOM: #999999 1pt solid;
BORDER-LEFT: MidnightBlue;
BORDER-RIGHT: MidnightBlue;
BORDER-TOP: #999999 1pt solid;
MARGIN: 1px 0px
}.TableFooterLine
{
BORDER-COLOR: #999999 black black black;
BORDER-BOTTOM: MidnightBlue;
BORDER-LEFT: MidnightBlue;
BORDER-RIGHT: MidnightBlue;
BORDER-TOP: #999999 1pt solid;
}.S01
{
BORDER-BOTTOM: black 1px solid;
BORDER-LEFT: black 1px solid;
BORDER-RIGHT: black 1px solid;
BORDER-TOP: black 1px solid
}表单如下:
<form name="addTran" method="post" action="operationSuccess.jsp">
<input type="hidden" name="operType" value='add' > <table class="tableframe" width="78%" align="center" border="0" cellpadding="0" cellspacing="0" height="58">
<tr>
<td colspan="6" class="listtail" align=center height="112">
<div align="center">
<table width="98%" border="0" height="108">
<tr>
<td colspan="4">您可以修改以下交易概要,然后点击确认(注:标"*"项为必输项)<br><br></td>
</tr>
<tr>
<td width="18%">交易标识:</td>
<td width="31%">
<input onkeydown="onlyNum();" type="text" name="Tranid" value='' maxlength=4 ><font color=red>*</font>
</td>
</tr>
.TITLE { font-family: 黑体; font-size: 24px; font-style: normal; font-weight: bolder; color: #FF0033; text-decoration: none}
.SUBTITLE { font-family: "宋体"; font-size: 14px; font-style: normal; font-weight: normal; color: #000000; text-decoration: none}
.TIPS { font-family: 黑体; font-size: 16px; font-style: normal; line-height: normal; font-weight: normal; color: #0000CC; text-decoration: none}
.BUTTON { font-family: "楷体_GB2312"; font-size: 24px; font-style: normal; line-height: normal; font-weight: bold; color: #000033; text-decoration: none; background-color: #CCCCCC; cursor: hand; width: 120px; height: 36px; border-top-width: medium; border-right-width: medium; border-bottom-width: medium; border-left-width: medium; text-align: center}
.TIPSTITLE { font-family: 黑体; font-size: 24px; font-style: normal; font-weight: bold; color: #CC0033; text-decoration: none}
.ROW1 {
border-color: #4F789F white black #4F789F;
border-style: solid;
border-top-width: 0px;
border-right-width: 1px;
border-bottom-width: 0px;
border-left-width: 0px;
BACKGROUND-COLOR:white;
height:30px;font-family: "Times New Roman"; font-size: 14px; font-style:
normal; font-weight: normal; color: #6D6D6D; text-decoration: none;}
.ROW2 {
border-color: #4F789F white black #4F789F;
border-style: solid;
border-top-width: 0px;
border-right-width: 1px;
border-bottom-width: 0px;
border-left-width: 0px;
BACKGROUND-COLOR:#f8f3f7;
height:30px;color:#6D6D6D;font-family: "Times New Roman"; font-size: 14px; font-style: normal;
font-weight: normal; text-decoration: none;}
.ROW3 {
border-color: #4F789F white black #4F789F;
border-style: solid;
border-top-width: 0px;
border-right-width: 1px;
border-bottom-width: 0px;
border-left-width: 0px;
BACKGROUND-COLOR:#E96472;
height:27px;color:white;font-family: "黑体", "Times New Roman"; font-size: 16px; font-style: normal;
font-weight: normal; text-decoration: none; text-align: center}
.TIPS0 { font-family: "黑体"; font-size: 18px; font-style: normal; line-height: normal; font-weight: normal; color: black; text-decoration: none}
.TIPS1 { font-family: "宋体"; font-size: 12px; font-style: normal; line-height: normal; font-weight: normal; color: black; text-decoration: none}
.TIPS2 { font-family: "黑体"; font-size: 16px; font-style: normal; line-height: normal; font-weight: normal; color: black; text-decoration: none}
.MenuFont
{
FONT-FAMILY: 宋体;
FONT-SIZE: 14px
}
.MenuButton
{
BORDER-BOTTOM: thin outset #000000;
BORDER-LEFT: thin outset #FFFFFF;
BORDER-RIGHT: thin outset #000000;
BORDER-TOP: thin outset #FFFFFF;
COLOR: #535556;
CURSOR: hand;
FONT-FAMILY: 黑体;
FONT-SIZE: 12pt;
FONT-WEIGHT: normal;
HEIGHT: 30px;
WIDTH: 100px
}.Line1
{
border-color: #4F789F #4F789F black #4F789F;
border-style: solid;
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 0px;
border-left-width: 1px
}
.Line2
{
border-color: #BB0418 #BB0418 #BB0418 #BB0418;
border-style: solid;
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px
}
.BodyLine
{
BORDER-BOTTOM: #FED2CF 1px solid;
BORDER-LEFT: #FED2CF 1px solid;
BORDER-RIGHT: #FED2CF 1px solid;
BORDER-TOP: #FED2CF 1px solid
}
.SpLine
{
border-color: black #FED2CF black black;
border-style: solid;
border-top-width: 0px;
border-right-width: 1px;
border-bottom-width: 0px;
border-left-width: 0px
}.TableHeaderLine
{
BACKGROUND-COLOR: #ffffcc;
BORDER-BOTTOM: #999999 1pt solid;
BORDER-LEFT: MidnightBlue;
BORDER-RIGHT: MidnightBlue;
BORDER-TOP: #999999 1pt solid;
MARGIN: 1px 0px
}.TableFooterLine
{
BORDER-COLOR: #999999 black black black;
BORDER-BOTTOM: MidnightBlue;
BORDER-LEFT: MidnightBlue;
BORDER-RIGHT: MidnightBlue;
BORDER-TOP: #999999 1pt solid;
}.S01
{
BORDER-BOTTOM: black 1px solid;
BORDER-LEFT: black 1px solid;
BORDER-RIGHT: black 1px solid;
BORDER-TOP: black 1px solid
}表单如下:
<form name="addTran" method="post" action="operationSuccess.jsp">
<input type="hidden" name="operType" value='add' > <table class="tableframe" width="78%" align="center" border="0" cellpadding="0" cellspacing="0" height="58">
<tr>
<td colspan="6" class="listtail" align=center height="112">
<div align="center">
<table width="98%" border="0" height="108">
<tr>
<td colspan="4">您可以修改以下交易概要,然后点击确认(注:标"*"项为必输项)<br><br></td>
</tr>
<tr>
<td width="18%">交易标识:</td>
<td width="31%">
<input onkeydown="onlyNum();" type="text" name="Tranid" value='' maxlength=4 ><font color=red>*</font>
</td>
</tr>
length