I’m creating mobile app using jQuery Mobile and CodeMirror as a code editor.
I’m not a designer so I don’t usually mess up with CSS.
I want CodeMirror control to be stretched down to footer.
Css height property won’t work here.
// Edit
Problem was in height of the parent DIV, sorry

I can’t write comments yet. did you try
editor.setSize(width, height)