Html 要在输入按钮中打断文本吗

Html 要在输入按钮中打断文本吗,html,Html,请找到下面的链接,并从Firefox浏览器打开此链接 而不是 value=“单击我” 将该单词替换为下一行 value="I want to break this sentence and make it fix width size like 400px and height should be auto." 需要打破这个按钮与400px的宽度和高度应自动根据我们有多长的句子 我现有的代码是 <input type="button" style="display: none; bac

请找到下面的链接,并从Firefox浏览器打开此链接

而不是

value=“单击我”

将该单词替换为下一行

value="I want to break this sentence and make it fix width size like 400px and height should be auto."
需要打破这个按钮与400px的宽度和高度应自动根据我们有多长的句子

我现有的代码是

<input type="button" style="display: none; background: none!important; border: none;
                            padding: 0!important; 
 border-bottom: 1px solid #444; cursor: pointer; max-width: 400px; word-wrap: break-word;" onclick="openDrugsPopup(this);"
                            id="lnkdrg2" name="lnkdrg2" value="Drug 2" />


函数msg()
{
警报(“你好,世界!”);
}
上面的按钮在单击时激活JavaScript


使用而不是按钮,并为该按钮指定宽度。高度相应增加,文本也相应增加

    <button style="width:100px">
     I want to break this sentence and make it fix widht size like 400px
      and height should 
      be auto. any one can help to resolve this issue asap.
     </button>

我想打破这句话,让它固定像400px的宽尺寸
身高应该
自动。任何人都可以帮助尽快解决这个问题。

这在所有浏览器中都能正常工作。

我们需要知道您尝试了什么,例如,使用。
    <button style="width:100px">
     I want to break this sentence and make it fix widht size like 400px
      and height should 
      be auto. any one can help to resolve this issue asap.
     </button>