<%@ Page Language="C#" AutoEventWireup="true" CodeFile="dl.aspx.cs" Inherits="_Default" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>无标题页</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<br />
<asp:Label ID="Label1" runat="server" Style="left: 227px; position: relative; top: -86px"
Text="用户名"></asp:Label> <table border="1" cellpadding="0" cellspacing="0" style="left: 194px;
width: 294px; position: relative; top: 8px">
<tr>
<td style="width: 100px; font-weight: bold; font-size: 18px; color: green; height: 22px;" colspan=2 align="center" >
用户登陆</td>
</tr>
<tr>
<td style="width: 99px; height: 26px;" align="right">
用户名:</td>
<td style="width: 100px; height: 26px;" align="left">
<asp:TextBox ID="TextBox2" runat="server" Style="left: 0px; position: relative; top: 0px"
Width="120px"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 99px; height: 25px;" align="right">
密 码:</td>
<td style="width: 100px; height: 25px;" align="left">
<asp:TextBox ID="TextBox1" runat="server" Style="left: 1px; position: relative; top: 0px"
Width="119px"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 100px; height: 26px;" colspan=2 align="center" >
<asp:Button ID="Button1" runat="server" Style="left: 63px; position: relative; top: 0px"
Text="下一步" /></td>
</tr>
</table>
<asp:Label ID="Label3" runat="server" Style="left: -119px; position: relative; top: -132px"
Text="用户登陆"></asp:Label>
<br />
<br />
<br />
</div>
</form>
</body>
</html>
<head runat="server">
<title>无标题页</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<br />
<asp:Label ID="Label1" runat="server" Style="left: 227px; position: relative; top: -86px"
Text="用户名"></asp:Label> <table border="1" cellpadding="0" cellspacing="0" style="left: 194px;
width: 294px; position: relative; top: 8px">
<tr>
<td style="width: 100px; font-weight: bold; font-size: 18px; color: green; height: 22px;" colspan=2 align="center" >
用户登陆</td>
</tr>
<tr>
<td style="width: 99px; height: 26px;" align="right">
用户名:</td>
<td style="width: 100px; height: 26px;" align="left">
<asp:TextBox ID="TextBox2" runat="server" Style="left: 0px; position: relative; top: 0px"
Width="120px"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 99px; height: 25px;" align="right">
密 码:</td>
<td style="width: 100px; height: 25px;" align="left">
<asp:TextBox ID="TextBox1" runat="server" Style="left: 1px; position: relative; top: 0px"
Width="119px"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 100px; height: 26px;" colspan=2 align="center" >
<asp:Button ID="Button1" runat="server" Style="left: 63px; position: relative; top: 0px"
Text="下一步" /></td>
</tr>
</table>
<asp:Label ID="Label3" runat="server" Style="left: -119px; position: relative; top: -132px"
Text="用户登陆"></asp:Label>
<br />
<br />
<br />
</div>
</form>
</body>
</html>
解决方案 »
- 这是我最后一招了,技穷了,跪求帮助
- 怎样在winForm程序或者ASP.NET读取数据库中的数据以treeview的方式现实
- Datalist(显示摘要信息) 选择一条记录时在新页面显示记录的详细信息的问题
- ~~~~~~~~~~~~~ajax控件中的AutoComplete用后,它下面被遮过的TextBox控件不能用了
- 客户端上传Excel的文件服务端读取时候提示"外部表不是预期的格式"
- 新手vs2003提问
- 请教一个VWD2005的设置问题
- 代码前置模型中引用的第三方类库应放在哪里
- 求通过电子邮件验证用户注册的C#代码
- 急!急!急!请问各位在asp.net 中的datagrid控件在属性生成器中将列转换为模板列后,能否在程序里再转回原样?如果可以,能否发个例子,在
- 请教高手关于发信息到QQ问题
- 页面请求一段时间以后就没反应的问题?????
<!--
.tab td {text-align:center;}
-->
</style>把这个复制到<head></head>里去
把你的 <table 加一个 class="tab" 即可<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tab">……
改为:<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<head id="Head1" runat="server">
<title>无标题页 </title>
</head>
<body>
<form id="form1" runat="server">
<div>
<br />
<table border="1" cellpadding="0" cellspacing="0" style="left: 194px;
width: 250px; position: relative; top: 8px">
<tr>
<td style="width: 250px; font-weight: bold; font-size: 18px; color: green; height: 22px;" colspan=2 align="center" >
用户登陆</td>
</tr>
<tr>
<td style="width: 100px; height: 26px;" align="right">
用户名:</td>
<td style="width: 150px; height: 26px;" align="left">
<asp:TextBox ID="TextBox2" runat="server" Style="left: 0px; position: relative; top: 0px"
Width="120px"> </asp:TextBox> </td>
</tr>
<tr>
<td style="width: 100px; height: 25px;" align="right">
密 码:</td>
<td style="width: 150px; height: 25px;" align="left">
<asp:TextBox ID="TextBox1" runat="server" Style="left: 1px; position: relative; top: 0px"
Width="119px"> </asp:TextBox> </td>
</tr>
<tr>
<td style="width: 250px; height: 26px;" colspan=2 align="center" >
<asp:Button ID="Button1" runat="server" Style="left: 65px; position: relative; top: 0px"
Text="下一步" /> </td>
</tr>
</table>
<br />
<br />
<br />
</div>
</form>
</body>
</html>
<head id="Head1" runat="server">
<title>无标题页 </title>
</head>
<body>
<form id="form1" runat="server">
<div align="center">
<br />
<table border="1" cellpadding="0" cellspacing="0" style="
width: 250px; margin-top:20%">
<tr>
<td style="width: 250px; font-weight: bold; font-size: 18px; color: green; height: 22px;" colspan=2 align="center" >
用户登陆</td>
</tr>
<tr>
<td style="width: 100px; height: 26px;" align="right">
用户名:</td>
<td style="width: 150px; height: 26px;" align="left">
<asp:TextBox ID="TextBox2" runat="server" Style="left: 0px; position: relative; top: 0px"
Width="120px"> </asp:TextBox> </td>
</tr>
<tr>
<td style="width: 100px; height: 25px;" align="right">
密 码:</td>
<td style="width: 150px; height: 25px;" align="left">
<asp:TextBox ID="TextBox1" runat="server" Style="left: 1px; position: relative; top: 0px"
Width="119px"> </asp:TextBox> </td>
</tr>
<tr>
<td style="width: 250px; height: 26px;" colspan=2 align="center" >
<asp:Button ID="Button1" runat="server" Style="left: 65px; position: relative; top: 0px"
Text="下一步" /> </td>
</tr>
</table>
<br />
<br />
<br />
</div>
</form>
</body>
</html> 你用这个代码是你要的效果么?
用户登陆 </td> 红色的去掉.
你用style 都把样式搞混了