我嘗試調整一個textarea(形式將由CKEditor的更換要準確),以適應整個頁面,這是我的html代碼:調整textarea的以適合頁面垂直
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>A Simple Page with CKEditor</title>
<!-- Make sure the path to CKEditor is correct. -->
<script src="ckeditor/ckeditor.js"></script>
</head>
<body>
<h1 align="center" style="font-family:Consolas;">AIO HTML WYSIWYG Editor</h1>
<form>
<textarea name="editor1" id="editor1" rows="50" cols="80">
</textarea>
<script>
// Replace the <textarea id="editor1"> with a CKEditor
// instance, using default configuration.
CKEDITOR.replace('editor1');
</script>
</form>
</body>
</html>
哪部分代碼嘗試調整大小?我沒看到它。 – csmckelvey