This is a migrated thread and some comments may be shown as answers.

Editor strips width style from div?

2 Answers 88 Views
Editor
This is a migrated thread and some comments may be shown as answers.
James
Top achievements
Rank 2
James asked on 28 Feb 2009, 12:58 PM

Hi there,

I seem to have a problem with the editor rewriting some HTML code.

Whenever I put this code into the editor content and then click the Design button it strips width:700px; from the first div style.

Is this by design and is there any way of stopping it? I've tried setting ConvertToXhtml="True" to false however this doesnt make any difference.
  

<div style="border: black 1px solid;width:700px;">  
<div style="line-height: 50px; text-align: center;"><strong>Header</strong> 
<div style="text-align: left;">  
<ul style="top-margin: 0px;">  
    <li style="line-height: 30px;">Bullet 1</li> 
    <li style="line-height: 30px;">Bullet 2</li> 
    <li style="line-height: 30px;">Bullet 3</li> 
    <li style="line-height: 30px;">Bullet 4</li> 
</ul> 
</div> 
</div> 
</div> 
 

Kind Regards
James

 

2 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 03 Mar 2009, 07:18 PM
Hello James,

I have good news that this problem is fixed in the beta build of RadControls for ASP.NET AJAX. You can test the Default Example to verify my words. The release date of Q1 2009 is scheduled for 10th of March.

Sincerely,
Rumen
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
James
Top achievements
Rank 2
answered on 03 Mar 2009, 10:16 PM
Thank you Rumen,

Will look forward to the next release.

Kind Regards
James
Tags
Editor
Asked by
James
Top achievements
Rank 2
Answers by
Rumen
Telerik team
James
Top achievements
Rank 2
Share this question
or