Does anybody here has an idea how to get this:
When I replace a textarea field (or a DIV) with CKEditor, I would like to have the width of the editable area exactly the same width of the replaced element. This is actualy not the case, because of the border around the editing area (and the menu bar). If the menu bar above continues to have this border (or just a padding) would be nice, but not the editing area itself.
This would be very usefull to show the end-user where a line will break, so he can decide where he should force line breaks.
Any idea? Regards,
Peter
When I replace a textarea field (or a DIV) with CKEditor, I would like to have the width of the editable area exactly the same width of the replaced element. This is actualy not the case, because of the border around the editing area (and the menu bar). If the menu bar above continues to have this border (or just a padding) would be nice, but not the editing area itself.
This would be very usefull to show the end-user where a line will break, so he can decide where he should force line breaks.
Any idea? Regards,
Peter
Re: How to get rid of the border around CKEditor?
I was using kama
and I just went thr and removed styles associated with
.cke_contents
.cke_skins_kama
where it talked about borders and margins and cute rounded ends.
from the editor.css
if you use google Chrome as your browser I found the Inspect element tool incredibly useful in finding out which styles were used where.