Nested Style classes in Editor

  •  05-03-2006, 8:38 AM

    Nested Style classes in Editor

    I'm try to emulate the front-end design of my site I have 2 or 3 nested div tags in the design. For example <div class=”Content”> <div class=”main-area”>content in here</div></div>

    Now the problem the problem is that I can’t set the editor to use all these classes, infact I can’t get to work with one if you set EditorWysiwygModeCss to the style sheet it uses the styles but as the content in not nested in the div tags it dose not look the same. I don’t what to have to produce a new style sheet as every time the designer change there minds I have to do a new (daily). Hence the body work around is of no use to me. EditorBodyStyle dose not work ether as you can only use in-line style and not classes as far as I can tell and even if you could I need to nest 2 to 5 classes sometimes.

    The work around I have to add the div tags to the editor around my editable content this means that the content has the div tags in it, this is bad as the editor could mess them up hence. I need a way to do this thought the standard commands please please help.

View Complete Thread