【发布时间】:2010-04-30 17:52:47
【问题描述】:
如何设置工具提示对话框的大小。工具提示文本必须显示在一行中,而不是将文本换行到另一行。
在 Firefox 和 IE7 中,工具提示文本显示在一行中,但在 IE8 中,工具提示文本被换行。即文本显示为 2 行。
asp:Image runat="server" ID="iUrl" Visible="false" ImageUrl="~/Widgets/FMP_Printers/images/status icons/icon_Fault_Enabled.gif" />
if (txtUrl.Text.ToUpper().IndexOf("HTTP://") < 0 && txtUrl.Text.ToUpper().IndexOf("HTTPS://") < 0)
{
iUrl.Visible = true;
iUrl.ToolTip = "ghghghghghghghghghghghghghghghghghghghghghghghghghghghghghghghgh";
valid = false;
}
【问题讨论】:
标签: asp.net