Twitter bootstrap 如何在引导弹出窗口中添加换行符
我正在尝试将文本分成新行,但是Twitter bootstrap 如何在引导弹出窗口中添加换行符,twitter-bootstrap,Twitter Bootstrap,我正在尝试将文本分成新行,但是和/n不起作用 这是我的密码: <a id="contact-seller" class="btn redB seller-btn" data-confirm="By contacting this seller, you are automatically share your profile information as well.<br/>Would you like to proceed?"> Contact
和/n
不起作用
这是我的密码:
<a id="contact-seller" class="btn redB seller-btn"
data-confirm="By contacting this seller, you are automatically share your
profile information as well.<br/>Would you like to proceed?">
Contact
</a>
接触
我如何使用CSS等工具来中断数据确认
行 将data html=“true”
添加到标记中,如下所示:
<a id="contact-seller" class="btn redB seller-btn" data-html="true"
data-confirm="By contacting this seller, you are automatically share your profile information as well.<br/>
Would you like to proceed?">
Contact
</a>
接触
您是否为我们提供了or?没有。我两个都没有。我添加了数据html=“true”,但弹出窗口中显示的文本带有文本。请将您的代码发布到JSFIDLE中,我会帮您查看