瀏覽器是Mozilla Firefox瀏覽器5ASP.NET標籤不舊的瀏覽器包
如果文字是: 文字太longggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg
我想它被包裹:
text is too longggggggggggggg
ggggggggggggggggggggggggggggg
ggggggggggggggggggggggggggggg
瀏覽器是Mozilla Firefox瀏覽器5ASP.NET標籤不舊的瀏覽器包
如果文字是: 文字太longggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg
我想它被包裹:
text is too longggggggggggggg
ggggggggggggggggggggggggggggg
ggggggggggggggggggggggggggggg
您可以嘗試使用CSS樣式word-wrap: break-word
將它放在多行TextB牛。
在這裏嘗試了一切http://forums.asp.net/t/1614815.aspx/1如果我使用文本框多行,無論如何更改文本字體它總是標準。 – user1663380
你也試過Literal.Text嗎? – smoore4
將寬度設置爲標籤,並且應該包裹。它在FF 5.0.1中的工作原理如下:http://browsershots.org/screenshots/77319252eba87c5882460dd86debe784 – smoore4
其實你需要指定你的標籤的寬度。在我的情況下,我把它放入並添加此CSS類:display:inline-block;寬度:123px;字符:盈虧所有;
這對我不起作用 – user1663380