By setting the width and height options in the HTML Editor interface, you can set the HTML Editor document to the same size as the space available by your div.
by changing:
$CKEditor_config = array();
$CKEditor_config = array();
$CKEditor_config["resize_enabled"] = false;
you make it so the HTMLEditor document size cannot be changed.