Re: Big problem with images styled to 100% width when within table in IE8

  •  08-16-2012, 8:19 AM

    Re: Big problem with images styled to 100% width when within table in IE8

    Hi Bloodcarver,
     
    Please create the page with the code below and send me the page url. So I can test it directly. and please test it with your IE 8 browser too. Try click on the "save" button, does it get the content correct? Does it remove the doctype section?
     
    1. <%@ Page Language="C#" ValidateRequest="false" %>  
    2.   
    3. <%@ Register TagPrefix="CE" Namespace="CuteEditor" Assembly="CuteEditor" %>  
    4. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
    5. <html xmlns="http://www.w3.org/1999/xhtml">  
    6. <head runat="server">  
    7.     <title>example</title>  
    8. </head>  
    9.   
    10. <script runat="server">  
    11.     protected override void OnLoad(EventArgs e)  
    12.     {  
    13.         editor1.DOCTYPE = @"<!DOCTYPE html PUBLIC ""-//W3C//DTD XHTML 1.0 Transitional//EN"" ""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"">";  
    14.         base.OnLoad(e);  
    15.     }  
    16.   
    17.     protected void btnSave_Click(object sender, EventArgs e)  
    18.     {  
    19.         TextBxo1.Text = editor1.Text;  
    20.     }  
    21. </script>  
    22.   
    23. <body>  
    24.     <form id="form1" runat="server">  
    25.         <CE:Editor ID="editor1" runat="server" EditCompleteDocument="true">  
    26.         </CE:Editor>  
    27.         <asp:Button ID="btnSave" runat="server" Text="save" OnClick="btnSave_Click" />  
    28.         <br />  
    29.         <asp:TextBox ID="TextBxo1" runat="server" TextMode="multiline" Rows="15" Width="800"></asp:TextBox>  
    30.     </form>  
    31. </body>  
    32. </html>  
    Regards,
     
    Ken 
View Complete Thread