Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jose Malone 121 posts 58 karma points
    Nov 29, 2009 @ 03:18
    Jose Malone
    0

    View Source keeps deleting html on Update

    I thought I concorded this before, but guess not. I'm using 4.0.2.1 (?) with TinyMCE 3. 

    I have the following table that I paste into the View Source window. Upon clicking Update the <div class="footer"></div> gets lost. I have looked at the document type and the CSS style sheet that has this tag is included (checked).

    I'm at a loss to how to get this to stick. 

    Jose

     

    <div sizset="0" sizcache="2" class="ROI_box">

    <div class="header">

    <h5>The breakdown:</h5>

    </div>

    <table border="0" cellspacing="0" cellpadding="5" align="center" style="width: 100%;">

    <tbody>

    <tr>

    <td>Conversion Rate</td>

    <td>18%</td>

    </tr>

    <tr class="altRow">

    <td>Actual Cost Per lead</td>

    <td>$1,511</td>

    </tr>

    <tr>

    <td>Estimated Cost Per Lead</td>

    <td>$2,500</td>

    </tr>

    <tr class="altRow">

    <td>Average Sale</td>

    <td>$778</td>

    </tr>

    <tr>

    <td>CLV</td>

    <td>$10,627,256</td>

    </tr>

    <tr class="altRow">

    <td>ROI</td>

    <td>1:19</td>

    </tr>

    </tbody>

    </table>

    <div class="footer"></div>

    </div>

  • Chris Houston 535 posts 980 karma points MVP admin c-trib
    Nov 29, 2009 @ 14:21
    Chris Houston
    0

    Hi Jose,

    Most browsers don't like an empty DIV, try adding a blank space ( &nbsp; ) in the middle of your DIV:

    <div class="footer">&nbsp;</div>

    Cheers,

    Chris

  • Jose Malone 121 posts 58 karma points
    Nov 29, 2009 @ 19:18
    Jose Malone
    0

    Chris,

    Thank you. Unfortunately it still gets blown away when I hit Update. Chrome, IE, and FF. Same. It just deletes the tag. 

    Sincerely,

    Jose

  • Jose Malone 121 posts 58 karma points
    Nov 29, 2009 @ 19:41
    Jose Malone
    0

    Also, after taking your insight I tried just putting actual text in between the div tags and it does stick. But then I have text in the footer...

  • Jose Malone 121 posts 58 karma points
    Nov 29, 2009 @ 19:43
    Jose Malone
    0

    Ooops. OK. It's actually keeping the DIV tags upon clicking Update on the View Source, but once I click the save or save and publish button it is now getting blown out.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies