"position: absolute" lost if is from code behind (runtime) assignment

  •  05-10-2013, 12:47 PM

    "position: absolute" lost if is from code behind (runtime) assignment

    Hi,

    I use RTE Editor for VB.NET and I've to assign value to editor from code Behind with a simple 

     

    Editor_control.Text = "<div position:absolute;left:10px;top:20px;"">HELLO</div>"

     

    But when I  load control on page and work on it the code is <div style="left:10px;top:20px;">HELLO</div>

     

    Why it lost [position:absolute ] ??? If I set position:absolute from visual mode it's ok.

     

    Pleas help me

    Thanks 

View Complete Thread