html,自动ie 模式11,html-Internet Explorer 11自动换行不起作用

似乎自动换行不再适用于IE 11中的textarea元素。在IE 10和更低版本中,FF,Safari和Chrome的自动换行按预期工作。

IE 11未实现任何自动换行。 我尝试将“ wrap = hard”添加到textarea标记中,还尝试添加“ word-wrap:normal;”。 到CSS。

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

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

这是我当前的textarea标签

这是我计算的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;

display: inline-block;

flex-direction: column;

font-family: Verdana, Arial, sans-serif;

font-size: 16px;

height: 300px;

letter-spacing: normal;

line-height: normal;

margin-bottom: 0px;

margin-left: 0px;

margin-right: 0px;

margin-top: 0px;

padding-bottom: 2px;

padding-left: 2px;

padding-right: 2px;

padding-top: 2px;

resize: both;

text-align: start;

text-indent: 0px;

text-shadow: none;

text-transform: none;

white-space: pre-wrap;

width: 950px;

word-spacing: 0px;

word-wrap: break-word;

writing-mode: lr-tb;

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值