Re: width of cute editor

  •  04-29-2010, 3:02 AM

    Re: width of cute editor

    Thanks,
     
    This test and the analysis triggered by it helped to solve the problem and I found the cause for the strange beaviour in my style sheet.
     
    The initial test worked fine with a few adoptions to my situation. Then I ncluded the stylesheet and I had the same problem of a too wide text field gain. One thing was different though: The icon bars where all equally wide and each in a row of it's own. This triggered the idea of "something is wrong with 'table' in my style". (I knew from earlier analysis of the source code that this was done with tables). I had a style "table" defined which looked like this
     
    table
     {
     border: 0px none;
     width: 600px;
     vertical-align: top;
     margin-left: 0px;
     font-size: <%response.write str_font_size_body %>;
     margin-left: 10px;
     }
     
    600 px was exactly the width of the icon bar ...
     
    So I changed the width to auto:
     
    table
     {
     border: 0px none;
     width: auto;
     vertical-align: top;
     margin-left: 0px;
     font-size: <%response.write str_font_size_body %>;
     margin-left: 10px;
     }
     
    And this was it ...
     
    Thanks again. And the key learning: Do not define the width for "table" in your styles sheet when you use CuteEditor!
     

    Volker Gottwald
View Complete Thread