index.aspx
1
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
2
3
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4
5
<html xmlns="http://www.w3.org/1999/xhtml" >
6
<head runat="server">
7
<title>无标题页</title>
8
<link href="StyleSheet.css" rel="stylesheet" type="text/css" />
9
</head>
10
<body>
11
<form id="form1" runat="server">
12
<div align="center">
13
<table style="width: 328px">
14
<tr>
15
<td colspan="3" style="height: 106px">
16
</td>
17
</tr>
18
<tr>
19
<td style="width: 100px; height: 30px;">
20
</td>
21
<td style="width: 100px; height: 30px;" align="left">
22
<asp:Label ID="Label1" runat="server" CssClass="lab" Text="Label"></asp:Label></td>
23
<td style="width: 100px; height: 30px;">
24
</td>
25
</tr>
26
<tr>
27
<td style="width: 100px; height: 28px">
28
</td>
29
<td style="width: 100px; height: 28px">
30
<asp:TextBox ID="TextBox1" runat="server" CssClass="txt"></asp:TextBox></td>
31
<td style="width: 100px; height: 28px">
32
</td>
33
</tr>
34
<tr>
35
<td style="width: 100px; height: 26px">
36
</td>
37
<td style="width: 100px; height: 26px">
38
<asp:Button ID="Button1" runat="server" CssClass="button" Text="Button" /></td>
39
<td style="width: 100px; height: 26px">
40
</td>
41
</tr>
42
</table>
43
44
</div>
45
46
</form>
47
</body>
48
</html>
49
StyleSheet.css
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>2

3
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">4

5
<html xmlns="http://www.w3.org/1999/xhtml" >6
<head runat="server">7
<title>无标题页</title>8
<link href="StyleSheet.css" rel="stylesheet" type="text/css" />9
</head>10
<body>11
<form id="form1" runat="server">12
<div align="center">13
<table style="width: 328px">14
<tr>15
<td colspan="3" style="height: 106px">16
</td>17
</tr>18
<tr>19
<td style="width: 100px; height: 30px;">20
</td>21
<td style="width: 100px; height: 30px;" align="left">22
<asp:Label ID="Label1" runat="server" CssClass="lab" Text="Label"></asp:Label></td>23
<td style="width: 100px; height: 30px;">24
</td>25
</tr>26
<tr>27
<td style="width: 100px; height: 28px">28
</td>29
<td style="width: 100px; height: 28px">30
<asp:TextBox ID="TextBox1" runat="server" CssClass="txt"></asp:TextBox></td>31
<td style="width: 100px; height: 28px">32
</td>33
</tr>34
<tr>35
<td style="width: 100px; height: 26px">36
</td>37
<td style="width: 100px; height: 26px">38
<asp:Button ID="Button1" runat="server" CssClass="button" Text="Button" /></td>39
<td style="width: 100px; height: 26px">40
</td>41
</tr>42
</table>43
44
</div>45
46
</form>47
</body>48
</html>49

1
body {
2
}
3
.lab
4
{
5
font-weight: bold;
6
font-size: 20px;
7
background-color: #ccffff;
8
text-decoration: underline line-through;
9
}
10
.txt
11
{
12
font-size: 9px;
13
margin: 1px;
14
width: 100px;
15
height: 11px;
16
}
17
.button
18
{
19
font-weight: bold;
20
font-size: 14px;
21
width: 100px;
22
height: 20px;
23
}
body {2
}3
.lab4
{5
font-weight: bold;6
font-size: 20px;7
background-color: #ccffff;8
text-decoration: underline line-through;9
}10
.txt11
{12
font-size: 9px;13
margin: 1px;14
width: 100px;15
height: 11px;16
}17
.button18
{19
font-weight: bold;20
font-size: 14px;21
width: 100px;22
height: 20px;23
}


浙公网安备 33010602011771号