We have a custom dropdown that is rendering differently in FireFox than in IE. It renders properly in IE but in FireFox the dropdown content exceeds the box that should be around the control.
This is the declaration:
public CuteEditor.RichDropDownList ConfigureCuteEdit(CuteEditor.Editor cuteEdit, MergeTagTable mt)
{
cuteEdit.AddToolbarGroupStart(cuteEdit.ToolControls);
CuteEditor.RichDropDownList rdl = new CuteEditor.RichDropDownList(cuteEdit);
rdl.ID = "rdlMergeTags";
rdl.Attributes["onchange"] = "CuteEditor_DropDownCommand(this, 'PasteHTML')";
rdl.CssClass = "CuteEditorDropDown";
cuteEdit.AddToolControl(rdl);
cuteEdit.AddToolbarGroupEnd(cuteEdit.ToolControls);
return rdl;
}
I tried adding this, but it did not work:
rdl.Attributes["width"] = "110";
What can I use to force the width to a size so that the box around the dropdown content will surround it properly?