<asp:Label id="lblName" Width="300px" Runat="server"></asp:Label>
Normally the *.aspx would be rendered as following
<span id="lblName" style="300px;"></span>
In Ie9 or earlier version I got the right HTML.
But in Ie10 or later version , the 「300px」 just doesn't render anymore.
Unless I set the 「Compatibility View」 in Ie11.
Another example is ：
<asp:panel id="Panel1" runat="server" BackImageUrl="img/sample.jpg"></asp:panel>
The property 「BackImageUrl」 should be rendered as
<code><div id="Panel1" style="background-image:url(img/sample.jpg);"></div></code>
Does anyone get this problem as well ? Is any suggestion about it ?
This post has been edited by albert018: 16 January 2014 - 07:20 PM