相关疑难解决方法(0)

Internet Explorer 11自动换行不起作用

在IE 11中,自动换行不再适用于textarea元素.在IE 10及更早版本中,FF,Safari和Chrome自动换行按预期工作.

IE 11没有实现任何自动换行.我尝试在textarea标签中添加"wrap = hard",并添加"word-wrap:normal;" 到CSS.

还有其他人遇到过这个问题吗?如果是这样,你找到了解决方案.Windows正在推出此更新,并且不一致的行为正在成为一个问题.

感谢您的任何帮助,您可以提供.

这是我当前的textarea标签

<textarea class="wrklst-report_text" id="report_text_6586427" name="report_text[6586427]" title="Report Box" data-exam_seq="6586427" style="width:95%;"></textarea>
Run Code Online (Sandbox Code Playgroud)

这是我的计算CSS

-webkit-appearance: textarea;
-webkit-rtl-ordering: logical;
-webkit-user-select: text;
-webkit-writing-mode: horizontal-tb;
background-color: rgb(255, 255, 255);
border-bottom-color: rgb(0, 0, 0);
border-bottom-style: solid;
border-bottom-width: 1px;
border-image-outset: 0px;
border-image-repeat: stretch;
border-image-slice: 100%;
border-image-source: none;
border-image-width: 1;
border-left-color: rgb(0, 0, 0);
border-left-style: solid;
border-left-width: 1px;
border-right-color: rgb(0, 0, 0);
border-right-style: solid;
border-right-width: 1px;
border-top-color: rgb(0, 0, 0);
border-top-style: solid;
border-top-width: 1px;
color: rgb(0, 0, 0);
cursor: auto; …
Run Code Online (Sandbox Code Playgroud)

html css internet-explorer

45
推荐指数
4
解决办法
7万
查看次数

标签 统计

css ×1

html ×1

internet-explorer ×1