Cannot control CuteEditor width

Last post 06-12-2009, 11:51 AM by gottwald. 1 replies.
Sort Posts: Previous Next
  •  06-11-2009, 2:36 PM 53027

    Cannot control CuteEditor width

    I need help to get the width of CuteEditor controlled.
     
    I am using stylesheets in a CMS environment. With the style sheet working I can not control the width.
    When I disable the stylesheet I can.
     
    I am sure there is one of my style sheet definitions that may overwright definitions from CuteEditor.
     
    I searched to find the right place in the include_CuteEditor.asp but could not find it. Tried many places, but nothing happend.
     
    What is the style that defines the width of this overall container?
     
    I had/have this working in Version 5 by including a style for DIV.CuteEditorToolbar like this
     
    DIV.CuteEditorToolbar
     {
     padding-left: 5px;
     width: 550px;
     }
     
    Version 6 still reacts on this style, but only for the top with the icons, not the full frame.
     
     
     
    Above is without style sheet. Below with style sheet. I modified the iframe to 500px.
     

    Volker Gottwald
  •  06-12-2009, 11:51 AM 53077 in reply to 53027

    Re: Cannot control CuteEditor width

    I found the reason for not being able to control the width of CuteEditor.

    I am using <div> in most of my style sheets to control the overall width of the page and in some cases background and borders also, like:

    DIV
     {
     height: auto;
     border-right: none;
     margin-left: 0px;
     width: 550px;
     }

    When I use CuteEditor with this style sheet, I can not control the width.
    Wen I remove the width statement from the div style like below, it works just fine

    DIV
     {
     height: auto;
     border-right: none;
     margin-left: 0px;
     }

    I think this is a not so logical behaviour of Cute Editor and looks like a bug to me.
    If so, could someone please correct it and let me know when and if it happens before I start implementing a work around?

    Thanks
    Volker


    Volker Gottwald
View as RSS news feed in XML