在运行时"Webforms" asp.net调整ASP:Label的大小 [英] Resize ASP:Label at Runtime “Webforms” asp.net
本文介绍了在运行时"Webforms" asp.net调整ASP:Label的大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试允许客户端在运行时重新调整标签文本大小"的大小,JQuery可调整大小不起作用,它仅适用于文本框的下拉列表等,但是对于标记它不起作用;有任何建议吗?
I am trying to allow the client to re-size the Label"Text-size" at runtime, the JQuery resizable isn''t working, it only worked on textbox''s/ dropdownlists and so on, but for the Label it did not work; Any suggestions?
推荐答案
^ ]
感谢stackoverflow;
Thanks to stackoverflow;
.lbl {display:block}
...
...
<asp:Label ID="Label1" ClientIDMode="Static" runat="server"
Text="Label" CssClass="lbl"></asp:Label>
...
...
(函数(){
这篇关于在运行时"Webforms" asp.net调整ASP:Label的大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文