我想知道是否有可能使alernate文本多行,而不是單行? 謝謝,橡樹。asp net imagebutton替代文字多行
0
A
回答
0
那麼,在某些瀏覽器上,你可以像這樣控制屬性,但它也會影響圖像本身的風格。
<style>
img[alt] { border: 1px solid #000;display: block; }
</style>
在我的FF這顯示包裹的所有文字
+0
噢,我發現這也是http://stackoverflow.com/questions/4275737/how-to-style-the-string-of-an-alt-tag – peter 2012-04-25 16:17:00
0
<img id="img1" width=50 src="foo.jpg" alt="come here"
onmouseover="this.style.display='block';this.alt='looo oooooooo oooooooooo oooooooooo oooooong'"
onmouseout="this.style.display='inline';this.alt='come here'"
/>
相關問題
- 1. 在ASP .NET中的替代重定向
- 2. ASP ImageButton vs Button
- 3. ASP ImageButton OnClick座標
- 4. ASP替代codepad.org
- 5. .NET imagebutton - 它需要隱藏代碼嗎?
- 6. asp buttonimage替代文本不可見
- 7. ZooKeeper替代.net
- 8. 替代在.NET
- 9. .NET替代
- 10. .NET/WPF替代
- 11. SVG中的ASP .NET代碼?
- 12. 的ImageButton替代文本不會出現在Chrome
- 13. 替代文字中的換行
- 14. 多個分支在ASP .NET
- 15. ASP Net核心StructureMap HybridLifecycle替換
- 16. perl的替代多行
- 17. .Net MVC替代Formtastic
- 18. ProActive並行套件.NET替代
- 19. ASP .NET ajax字段驗證
- 20. 在imagebutton上寫文字
- 21. 在ImageButton上疊加文字
- 22. ASP .Net安全執行
- 23. ASP .NET和IIS
- 24. Asp .Net Core Project.json文件
- 25. Asp .Net文件緩存
- 26. 多個ImageButton OnClicklistener
- 27. asp net net core export to Excel
- 28. rails button_to ---替代文字
- 29. ASP .NET和SonarLint
- 30. ASP .Net MVC 2013
你能GICE的例子還有一種可能,不知道你是什麼意思 – peter 2012-04-24 08:34:50
作爲默認情況下,文本位於在圖像的左上角,如果它長於圖像的寬度,文本的其餘部分將消失。我想知道是否可以將文本分成多行。 – Oak 2012-04-25 09:13:42