kk1184
10-21-2010, 08:57 AM
hi friends,
am migrating my appln from IE6 to IE8. am getting the below mentioned error.As its impacting in many screens i hope i need to modify CSS.But am new to CSS. Please guide me. Thanks in advance
Error
------
errormessage will be displayed in label only when [button] is clicked. but label border layout is dispalyed on page load itself.
CSS
---
.alert
{
border-width:1px;
border-style:solid;
background-color:#fffccc;
border-color:red;
color:red;
padding:10px;
line-height:3em;
}
HTML
----
<div class="message" >
<asp:Label ID="lblMsg" CssClass="alert" runat="server" ></asp:Label>
</div>
am migrating my appln from IE6 to IE8. am getting the below mentioned error.As its impacting in many screens i hope i need to modify CSS.But am new to CSS. Please guide me. Thanks in advance
Error
------
errormessage will be displayed in label only when [button] is clicked. but label border layout is dispalyed on page load itself.
CSS
---
.alert
{
border-width:1px;
border-style:solid;
background-color:#fffccc;
border-color:red;
color:red;
padding:10px;
line-height:3em;
}
HTML
----
<div class="message" >
<asp:Label ID="lblMsg" CssClass="alert" runat="server" ></asp:Label>
</div>