Getting the style right

  •  08-11-2006, 4:58 AM

    Getting the style right

    Hi
     
    I have been giving this problem some thought and have not been able to find a solution so hopefully I can find help here.
     
    The problem consists in the fact that when using CuteEditor with a cms where data are stored in a DB data are not always presented in the same context on the website as when edited. Lets say that the content edited by cuteeditor is represented by ##content##, In the editing-template it will look like:
     
    <body>
       ##content##
    </body>
     
    On the website, however it is presented as:
     
    <body>
       <div id=header>some header</div>
       <div id=menu>some menu</div>
       <div id=content>##content##</div>
    </body>
     
    If the background/foreground colors of <body> and <div id=content> are reversed then the editing of the content (with cuteditor) is not wysiwyg but in fact the style of <body>
     
    How do I fix that ?
     
    regards
    Lars Kohsel
View Complete Thread