我无法在ajaxtoolkit htmleditorextender上设置左侧和顶部样式属性

时间:2012-11-02 11:24:45

标签: asp.net ajax

我无法在ajaxtoolkit htmleditorextender上设置左侧和顶部样式属性..

它指的是这样的TargetControlID:

 <asp:TextBox ID="TextBox2"  style="position:relative;left:100px;top:80px" runat="server" Height="228px" Width="483px"></asp:TextBox>

但是一旦添加了扩展程序

        

文本框失去了它的位置

非常感谢。

1 个答案:

答案 0 :(得分:0)

将文本框放入具有已定义类属性的div容器中,并添加css类定义,如下所示:

 .containerClass .ajax__html_editor_extender_container
 {
      position: relative;
      left: 100px;
      top: 80px;
 }