表格样式操作

<style type="text/css">
TABLE
{
font-family: "宋体";
font-size: 9pt;
line-height: 150%;
CURSOR: default;
BORDER-COLLAPSE: collapse;   //所有表格 让表格的样式变细
}

INPUT{
BORDER-TOP-WIDTH: 1px;
PADDING-RIGHT: 1px;
PADDING-LEFT: 1px;
BORDER-LEFT-WIDTH: 1px;
FONT-SIZE: 9pt;
BORDER-LEFT-COLOR: #cccccc;
BORDER-BOTTOM-WIDTH: 1px;
BORDER-BOTTOM-COLOR: #cccccc;
PADDING-BOTTOM: 1px;
BORDER-TOP-COLOR: #cccccc;
PADDING-TOP: 1px; HEIGHT: 18px;
BORDER-RIGHT-WIDTH: 1px;
BORDER-RIGHT-COLOR: #cccccc}

textarea {
border-width: 1;
border-color: #000000;
background-color: #FFFFFF;
font-family: 宋体;
font-size: 9pt;
font-style: bold;}

select {
border-width: 1;
border-color: #000000;
background-color: #FFFDF7;
font-family: 宋体;
font-size: 9pt;
font-style: bold;}
</style>

让连接变色
<style type="text/css">
TABLE {
FONT-FAMILY: "宋体"; FONT-SIZE: 9pt
}
A:link {
COLOR: #0000fa; TEXT-DECORATION: none
}
A:visited {
COLOR: #008000; TEXT-DECORATION: none
}
A:hover {
COLOR: gray; TEXT-DECORATION: underline
}
</STYLE>

你可能感兴趣的:(表格)