Wierd width problem with dropdowns

  •  10-17-2004, 5:40 PM

    Wierd width problem with dropdowns

    Hi,
     
    On an almost empty page, generating the editor customized is no problem. Now I'm putting it into a large page with lots of code, and suddenly all dropdowns in the editor are 100% - in spite that i specificly set widths to 100 pix:
     

    Dim editor
    Set editor = New CuteEditor
    'Set toolbar level from template: default, enableall, simple, minimal, tablefocus, imagefocus
    editor.AutoConfigure = "enableall"

    'Set contour content editor size
    editor.id = "editor1"
    editor.Width = 800
    editor.Height = 350
    editor.LinksDropDownWidth = 100
    editor.ParagraphsDropDownWidth = 100
    editor.SizesDropDownWidth = 100
    editor.ZoomsDropDownWidth= 100
    editor.StylesDropDownWidth = 100
    editor.CodeSnippetsDropDownWidth = 100
    editor.ImagesDropDownWidth = 100
    editor.FontsDropDownWidth = 100
     
    I also experienced some problems with the <%@language ... thing, because the browser will only accept the command once, but as it is present on all my pages, and it's also presenet in the include_CuteEditor.asp, it errors. I deleted the @language command from the include_CuteEditor.asp file, and then the editor works, but with this strange width problem.
     
    Sincerely Jesper

    -=-=-=-=-=-=-=-=-=-=-=-=-=-=
    Sincerely,

    Jesper Laustsen
    Consultant and developer
View Complete Thread