Hi, I am creating a cms where the edited content is going into a css-styled DIV, and I want to make the editing area look like the target DIV area (size, background colour, margins & padding, text size etc)
Obviously I can do this by putting equivalent opening and closing DIV tags into the text area to start with, but then the user might delete them or change them. Is there any way to apply equivalent css rules assigned to the DIV to the editing area?
Thanks