I am trying to use the asp.net tooltip property, if text is over, then display the text. But tool tip appears to be around 300 pixels wide and about 100 pixels high. But the text is a few letters .. So I have to know what is the reason for this behavior as there is no additional setting for this property.
& lt; Div style = "clear: both; overflow: hidden;" & Gt; & Lt; Asp: Label ID = "LabelSubject" runat = "server" BackColor = "" font-size = "small" CssClass = "overflow management" style = "max-width: 230px; float: left; border: 1px solid # ccc; Border Bottom: 1px solid #fff; border-top right-radius: 4px; font-weight: bold; "& gt; & Lt; / Asp: label & gt; & Lt; / Div & gt; css
.overflowmanagement {text overflow: alipesis; Hidden flurry; Display area; White-space: Abrop; } asp.net
LabelSubject.ToolTip = LabelSubject.Text;
Is there something on your tooltip's settings? Or if you're using it dynamically, or using it again, there may be some old settings that you have not been dealing with. This is a mistake I often do.
No comments:
Post a Comment