Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
下图应该说够了。
当尝试使用 enter 转到下一行时,它会位于(略低于)其上方的文本行的顶部。
http://www.dreamincode.net/forums/uploads/monthly_05_2012/post-303110-13359838269609.png.pagespeed.ce.xEvMztZ7Ot.png
在文本字段的字符属性中,检查您的前导(它是字体大小旁边的百分位值)。这将设置文本字段的行高。
默认值为 100%。
为大型数据集构建 UI。理想的情况是有一个固定高度的表格,该表格可滚动以容纳 200 多行数据。一个好处是使用 JQuery UI 使用户能够拖动表格的高度以显示更多或更少的行。
到目前为止我所拥有的 JSFiddle:http: //jsfiddle.net/jonbrownm/j5