搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

How do I do the equivalent of vbnewline in <img title=......>

  • 1 回覆
  • 2 有這個問題
  • 1 次檢視
  • 最近回覆由 cor-el

more options

In Internet Explorer I can set a new line in an

Thanks

In Internet Explorer I can set a new line in an <img title= using the vbnewline keyword - this is not recognised by Firefox so how do I get a new line Example in IE <img title='line1 vbnewline line2'.... gives a title as line1 line2 Thanks

所有回覆 (1)

more options

You can't add line feeds to the title attribute. Firefox shows them as one line.