Line wrapping is not working in IE9.

Hi i am working with codemirror to highlight Hive querries in text area.
I want to do the linewrapping in the text area.
window.editor = CodeMirror.fromTextArea(document.getElementById(‘hiveQueryId’), {
mode: mime,
indentWithTabs: true,
smartIndent: true,
lineNumbers: false,
matchBrackets : true,
autofocus: true,
extraKeys: {“Ctrl-Space”: “autocomplete”},
lineWrapping : true
It is working fine in chrome without any problem, but the same is not working in IE9.
I tried in various ways like

  1. Tried using wrap=‘hard" cols=“100%” attributes of textarea.
    resize: function() {
    editor.setSize($(this).width(), $(this).height());
    3.Instead of $(this).width(), $(this).height() used “100%” or “100px” in the setsize method
    but I am unable to fix it.
    Please help me out to resolve this issue.

Line wrapping works fine for me in CodeMirror + IE9. You don’t need to do any CSS magic, just setting the lineWrapping option to true is all it takes.

Thanks for reply, I am actually fixed by wrapping that textarea in a table and using attribute table-layout: fixed.