Editor refuses to be constrained by parent <div> width

  •  06-29-2007, 10:44 AM

    Editor refuses to be constrained by parent <div> width

    Hello,
     
    I am working on a website which is being integrated into our CMS, and we have placed an editor in each major content location of the web page. For example there is an editor in the header of the layout for adding banner images; there is a second instance of the same editor in the sidebar column and there is a third unique editor in the main content area.
     
    My problem is that the editors will not be constrained by the width, set in CSS, of their containers. Their containers are <div> elements.
     
     
    I cannot set the width on the editor's themselves (on <CE:...>) because we use the same instance of the editor in different sections of the web-page layout.
     
    1. the banner on the home page - needs to be 100% here
    2. the banner on level 2+ plages - the editor needs to be 591px here
    3. the sidebar - the editor needs to be 170px here
     
     
    How can I make sure that my CSS has the final word on how wide the editor is?
     
     
     
     
     
    Regards,
     
    Simone
View Complete Thread