on the contents update and contents insert pages of power cms the width and height are controlled by the following lines:
$CKEditor_config["width"] = "98%";
$CKEditor_config["height"] = "300px";
you would need to hand code the logic to dynamically set those. It is not something we can support here in the forums
regarding CSS, see my reply to the other thread you started.