Nested Style classes in Editor

Last post 05-16-2006, 7:45 AM by Feline. 3 replies.
Sort Posts: Previous Next
  •  05-03-2006, 8:38 AM 18765

    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.

  •  05-03-2006, 1:12 PM 18778 in reply to 18765

    Re: Nested Style classes in Editor

    Feline,
     
    Can you tell me:
     
    Are you using CuteEditor edit "<div class=”Content”> <div class=”main-area”>content in here</div></div>" or you are put the Editor inside the above DIV?
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  05-04-2006, 3:42 PM 18829 in reply to 18778

    Re: Nested Style classes in Editor

    As a work around I have put that with in the edtior content, then I remove it again at the end. If put the editor in those div tags it dose not work.
  •  05-16-2006, 7:45 AM 19186 in reply to 18829

    Re: Nested Style classes in Editor

    Any luck with this as my fix for the solution is not working in pratice
View as RSS news feed in XML