web.config的配置信息:
<appSettings>
<add key="conStr" value="server=yuanxin.;database=test;uid=sa;pwd=yuanxin!"/>
</appSettings>
题目中的style.css的内容:
body
{
color: #545454;
margin: 0px 0px 0px 2px;
padding: 0;
}
table
{
font-size: 12px;
}
.menu
{
font-weight: bold;
color: #009966;
text-decoration: underline;
background-color: #99ccff;
}
.reply
{
font-size: 12px;
color: red;
border-right: #999999 1px solid;
border-top: #999999 1px solid;
border-left: #999999 1px solid;
border-bottom: #999999 1px solid;
}
A
{
font-weight: lighter;
font-size: 12px;
color: black;
text-decoration: none;
}
A:hover
{
font-weight: lighter;
font-size: 12px;
color: #ff3333;
}
A:link
{
font-weight: lighter;
font-size: 12px;
color: black;
}
.add
{
border-bottom: #99ccff 1px solid;
}
.delete
{
font-size: 12px;
}
/*底部信息*/
#footer {
width:982px;
background:url(images/index_02.gif) no-repeat left top;
height:54px;
margin-top:5px;
text-align:right;
padding:45px 15px 0 0;
clear:both;
}
#footer p {
line-height:13pt;
color:#E7456F;
}
#footer p a,#footer p a:visited {
color:#E7456F;
text-decoration:none;
}
#footer p a:hover {
color:#FFF;
text-decoration:underline;
}
/*顶部图片*/
#top {
width:997px;
height:145px;
}
/*导航*/
#nav {
background:url(images/index_11.gif) no-repeat left top;
width:997px;
height:37px;
}
#nav ul {
list-style:none;
margin-left:63px;
}
#nav li {
float:left;
margin:0 1px;
background:url(images/index_21.gif) no-repeat left center;
padding-left:16px;
}
#nav .nonephoto {
background:none;
padding-left:0;
}
#nav .button1 a,#nav .button1 a:visited {
background:url(images/index_12.gif) no-repeat left top;
width:77px;
height:37px;
display:block;
text-decoration:none;
}
#nav .button1 a:hover {
background-position:0 -37px;
color:#C61B48;
}
#nav .button2 a,#nav .button2 a:visited {
background:url(images/index_13.gif) no-repeat left top;
width:77px;
height:37px;
display:block;
text-decoration:none;
}
#nav .button2 a:hover {
background-position:0 -37px;
color:#C61B48;
}
#nav .button3 a,#nav .button3 a:visited {
background:url(images/index_14.gif) no-repeat left top;
width:77px;
height:37px;
display:block;
text-decoration:none;
}
#nav .button3 a:hover {
background-position:0 -37px;
color:#C61B48;
}
#nav .button4 a,#nav .button4 a:visited {
background:url(images/index_15.gif) no-repeat left top;
width:77px;
height:37px;
display:block;
text-decoration:none;
}
#nav .button4 a:hover {
background-position:0 -37px;
color:#C61B48;
}
#nav .button5 a,#nav .button5 a:visited {
background:url(images/index_16.gif) no-repeat left top;
width:77px;
height:37px;
display:block;
text-decoration:none;
}
#nav .button5 a:hover {
background-position:0 -37px;
color:#C61B48;
}
#nav .button6 a,#nav .button6 a:visited {
background:url(images/index_17.gif) no-repeat left top;
width:77px;
height:37px;
display:block;
text-decoration:none;
}
#nav .button6 a:hover {
background-position:0 -37px;
color:#C61B48;
}
#nav .button7 a,#nav .button7 a:visited {
background:url(images/index_20.gif) no-repeat left top;
width:77px;
height:37px;
display:block;
text-decoration:none;
}
#nav .button7 a:hover {
background-position:0 -37px;
color:#C61B48;
}
#nav .button8 a,#nav .button8 a:visited {
background:url(images/index_18.gif) no-repeat left top;
width:77px;
height:37px;
display:block;
text-decoration:none;
}
#nav .button8 a:hover {
background-position:0 -37px;
color:#C61B48;
}
#nav .button9 a,#nav .button9 a:visited {
background:url(images/index_19.gif) no-repeat left top;
width:77px;
height:37px;
display:block;
text-decoration:none;
}
#nav .button9 a:hover {
background-position:0 -37px;
color:#C61B48;
}