| 1 | <!DOCTYPE html> |
|---|
| 2 | <html> |
|---|
| 3 | <head> |
|---|
| 4 | <title>CKEditor</title> |
|---|
| 5 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
|---|
| 6 | <script src="../../ckeditor.js"></script> |
|---|
| 7 | <link href="../sample.css" rel="stylesheet"> |
|---|
| 8 | <style> |
|---|
| 9 | .content { |
|---|
| 10 | margin: 0 20px 0 0; |
|---|
| 11 | padding: 10px; |
|---|
| 12 | overflow: hidden; |
|---|
| 13 | background-color: white; |
|---|
| 14 | float: left; |
|---|
| 15 | } |
|---|
| 16 | .c1 { |
|---|
| 17 | width: 400px; |
|---|
| 18 | border: 3px solid red; |
|---|
| 19 | } |
|---|
| 20 | .c2 { |
|---|
| 21 | width: 300px; |
|---|
| 22 | border: 3px solid green; |
|---|
| 23 | } |
|---|
| 24 | fieldset { |
|---|
| 25 | margin: 0; |
|---|
| 26 | border: 0 none; |
|---|
| 27 | padding: 0; |
|---|
| 28 | } |
|---|
| 29 | </style> |
|---|
| 30 | </head> |
|---|
| 31 | <body> |
|---|
| 32 | <div class="content c1"> |
|---|
| 33 | <fieldset> |
|---|
| 34 | <textarea class="ckeditor" name="editor1"><p>Foo foo!</p></textarea> |
|---|
| 35 | </fieldset> |
|---|
| 36 | </div> |
|---|
| 37 | <div class="content c2"> |
|---|
| 38 | <fieldset> |
|---|
| 39 | <textarea class="ckeditor" name="editor2"><p>Foo foo!</p></textarea> |
|---|
| 40 | </fieldset> |
|---|
| 41 | </div> |
|---|
| 42 | <script> |
|---|
| 43 | </script> |
|---|
| 44 | </body> |
|---|
| 45 | </html> |
|---|