开发者

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>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜