I am trying to adjust the height of the FCK Text Editor, but encountering some difficulties. Below is the code snippet I am currently using:
<tr>
<td colspan="2" align="left" valign="middle">
<textarea name="text" id="text" >
<?php echo $curnote;?>
</textarea>
</td>
</tr>
<script type="text/javascript">
CKEDITOR.replace( 'text', { width:'90%' } );
</script>
When attempting to specify both width and height by adding { width:'90%', height:'90%' }
, it does not seem to work as expected.
Any suggestions on how I can resolve this issue would be greatly appreciated. Thank you!