<HTML>
<body>
<style>
DIV#Main { BORDER-RIGHT: #bbbbbb 1px solid; PADDING-RIGHT: 32px; BORDER-TOP: #bbbbbb 1px solid; PADDING-LEFT: 32px; BACKGROUND: #ffeeff; PADDING-BOTTOM: 32px; BORDER-LEFT: #bbbbbb 1px solid; PADDING-TOP: 32px; BORDER-BOTTOM: #bbbbbb 1px solid }
A.Button:link { BORDER-RIGHT: #999999 1px solid; PADDING-RIGHT: 12px; BORDER-TOP: #999999 1px solid; DISPLAY: block; PADDING-LEFT: 12px; FONT-WEIGHT: bold; BACKGROUND: #990044; FLOAT: left; PADDING-BOTTOM: 3px; BORDER-LEFT: #999999 1px solid; COLOR: #ffffff; PADDING-TOP: 3px; BORDER-BOTTOM: #999999 1px solid }
LABEL { FONT-WEIGHT: bold; FONT-SIZE: 14px; MARGIN: 6px 0px 2px; TEXT-TRANSFORM: uppercase; COLOR: #999999 }
</style>
<form method="post" runat="server" ID="frmLogin">
<div id="Main">
<LABEL>记住密码</LABEL>
<br>
<asp:LinkButton id="lblLogin" runat="server" Text="登录" CssClass="Button" style="MARGIN-TOP: 8px" />
<br style="CLEAR: both">
<asp:Label id="Message" runat="server" ForeColor="#990044" FontBold="true" CssClass="ErrorMessage"></asp:Label>
</div>
</form>
</body>
</HTML>
经测试,
(1)在FireBird中可以显示,IE中则不能。
(2)如果把style="CLEAR: both"去掉后IE就可以显示了。
欢迎各位高手指点