OuterHTML and InnerHTML for tables contains code for dashed border

Last post 09-12-2007, 9:18 PM by Adam. 3 replies.
Sort Posts: Previous Next
  •  08-25-2007, 9:49 PM 32894

    OuterHTML and InnerHTML for tables contains code for dashed border

    For example:
    <TD style="BORDER-RIGHT: #7f7c75 1px dashed; BORDER-TOP: #7f7c75 1px dashed; BORDER-LEFT: #7f7c75 1px dashed; BORDER-BOTTOM: #7f7c75 1px dashed">
     
    In Firefox, it's like this:
     
    style="border: 1px dashed rgb(127, 124, 117);"
     
    I need to strip this information from the TD since it's something being done for internal purposes by CE and we don't want it for special display purposes. Can you show some code that will do that or is there another property of the CE that doesn't contain this particular code?
  •  08-26-2007, 11:03 AM 32903 in reply to 32894

    Re: OuterHTML and InnerHTML for tables contains code for dashed border

    It's OK, I found the answer: turn off visible borders...
  •  09-12-2007, 1:03 PM 33510 in reply to 32903

    Re: OuterHTML and InnerHTML for tables contains code for dashed border

    How did you turn off the visible borders .. I am having the same issue where Firefox is adding the borders and I do not want them to be displayed
  •  09-12-2007, 9:18 PM 33514 in reply to 33510

    Re: OuterHTML and InnerHTML for tables contains code for dashed border

    seanmle,
     
    Client side:
     

        // get the cute editor instance
        var editor1 = document.getElementById('<%=Editor1.ClientID%>');
        editor1.ExecCommand("ToggleBorder");
     
    Server side:

    Set Editor.ToggleBorder Property to false.
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View as RSS news feed in XML