一:
<table border="0" width="100%" cellspacing="0" cellpadding="0" style="TABLE-LAYOUT: fixed">
<tbody>
<tr>
<td style="word-wrap:break-word;width:90%;white-Space:pre;">
<pre>111111111111111111111111111111111111111111111111111111111111111111111111111</pre>
</td>
</tr>
</tbody>
</table>
二:
<style>
.Wrap{
BORDER: 0;
OVERFLOW-Y: visible;
WIDTH: 386px;
CURSOR: default;
BACKGROUND-COLOR: transparent;
}
</style>
<textarea readonly=true class="Wrap">
123
12312333333333333333333333333333333333333333333333333333
</textarea>
博客展示了HTML中表格和文本框的样式设置。设置了表格的边框、宽度等属性,还设置了文本框的边框、溢出、宽度、背景颜色等样式,体现了前端开发中对元素样式的控制。
2822

被折叠的 条评论
为什么被折叠?



