superscript in asp label
i wish to display a single label as "18th january 2011"... where 'th' hs to be in superscript.. how to do in开发者_高级运维 asp.net with label??
You can use
<asp:Label ID="name" runat="server">18<sup>th</sup>January 2011</asp:Label>
The html tag for superscript is <sup>
: you could concatenate the d, M, & Y elements with this.
<label>18<sup>th</sup> January 2011</label>
精彩评论