最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - IE8 not displaying textarea resize bottom right corner - Stack Overflow

programmeradmin3浏览0评论

I'm using IE8 but the textarea resize bottom right corner is not displaying. This same code works ok in Firefox. I also noticed the same problem in some online examples when using IE.

Anyone knows the trick to display the resize bottom corner in IE?

My CSS:

textarea { resize:both; }

My HTML:

<div>
<textarea rows="20" cols="150"> 

</textarea>
</div>

I'm using IE8 but the textarea resize bottom right corner is not displaying. This same code works ok in Firefox. I also noticed the same problem in some online examples when using IE.

Anyone knows the trick to display the resize bottom corner in IE?

My CSS:

textarea { resize:both; }

My HTML:

<div>
<textarea rows="20" cols="150"> 

</textarea>
</div>
Share Improve this question asked Jul 11, 2011 at 19:07 MarquinioMarquinio 4,82113 gold badges48 silver badges72 bronze badges
Add a ment  | 

2 Answers 2

Reset to default 12

So far, the resize CSS property is only supported by the Gecko and WebKit engines (i.e. Firefox, Chrome and Safari).

Internet Explorer and Opera do not support it (yet).

The resize CSS attribute isn't supported in Internet Explorer. You may need to use a Javascript framework (such as jQuery) to get truly cross-browser support for this functionality; or you can simply not support it in IE (is it really that important that your users be able to resize the textarea?).

发布评论

评论列表(0)

  1. 暂无评论