【发布时间】:2019-01-26 19:20:09
【问题描述】:
我正在处理fiddle 中所示的表单,我想在表单中放置一个完整的占位符文本。
我用来制作小型输入表单的 HTML 是:
<div class="container text-center ">
<div class="form-group">
<label class="ml-2" style="width:100%;text-align:left;" for="inputAddress">Hello World</label>
<input type="text" class="form-control" id="inputAddress" placeholder="Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.">
</div>
</div>
问题陈述:
我想知道我应该在小提琴中进行哪些更改,以便我可以看到完整的占位符文本。此时,我可以看到几个字(不是完整的陈述),如下图所示:
【问题讨论】:
-
在“since”之后换行
-
很确定这是不可能的。如果你有这么多文字,那真的不是占位符吗?
-
@TA 你能在小提琴中做出改变吗?
-
@flash 见this answer
标签: html css forms bootstrap-4 placeholder