Inline style is broken RRS feed

  • Question

  • If I enter the following HTML


    <style>.foo { padding: 50px; }</style>
    <p class="foo">This is paragraph with 50px padding</p>


    Then it is rendered as expected in the editor preview. Runtime article rendering, however, displays sanitised

    . foo { margin-left:100px; }

    This is paragraph with 50px padding

    Arguably, it's not a big deal, however all table styling inside the editor heavily relies on inline styles and will be very confusing for the authors.



    George Doubinski, MVP
    Tuesday, March 22, 2011 12:36 AM


All replies