javascript - How to Remove Resize handles and border of div with contentEditable and size style -


the problem i'm having contenteditable attribute in ie. problem i'm getting resize handles, , thick border around elements when they're in focus. styles with, height , display needed. idea of how remove them? css or javascript

a simple example:

<html> <head> </head>  <body>  <div contenteditable="true" style="width: 50%; height: 50%; display: table" > <div contenteditable="true" style="width: 50%; height: 50%; display: table-cell"> <p>aaa</p> </div> </div>  </body> </html> 

do need contenteditable="true" defined twice ? if delete first one, resize handles go away, although functionality remains.

http://jsfiddle.net/2uphd/1/


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -