Styling the editor instance based on it's containing element?

  •  04-23-2007, 11:19 AM

    Styling the editor instance based on it's containing element?

    Hi all
     
    I have some code that is creating multiple editor instances based on database content and was wondering if there is any way to style this editor based on the height / width of the containing item?
     
    My code to create the editors is a follows
     
    CuteEditor.Editor CE = new CuteEditor.Editor();
    CE.Text = contentRow.cnt_content.ToString();
    c.Controls.Add(CE);
     
    I suppose I could always get set the height and width in db variables, but just wondered if anyone knew any way of doing it automatically.
     
    Thanks
    Dave
View Complete Thread