I can't set left and top style property on ajaxtoolkit htmleditorextender..
我无法在ajaxtoolkit htmleditorextender上设置左侧和顶部样式属性。
it refers to a TargetControlID like this:
它指的是这样的TargetControlID:
<asp:TextBox ID="TextBox2" style="position:relative;left:100px;top:80px" runat="server" Height="228px" Width="483px"></asp:TextBox>
but once the extender is added
但是一旦增加了扩展器
the textbox loses it's position
文本框失去了它的位置
thanks a lot.
非常感谢。
1 个解决方案
#1
0
Place your textbox into div container with defined class attribute and add css class definition as below:
将文本框放入具有已定义类属性的div容器中,并添加css类定义,如下所示:
.containerClass .ajax__html_editor_extender_container
{
position: relative;
left: 100px;
top: 80px;
}
#1
0
Place your textbox into div container with defined class attribute and add css class definition as below:
将文本框放入具有已定义类属性的div容器中,并添加css类定义,如下所示:
.containerClass .ajax__html_editor_extender_container
{
position: relative;
left: 100px;
top: 80px;
}