List of allowed inline styles

  • Author
  • #150316


    I asked myself if there’s a list somewhere of all allowed inline styles.

    WordPress strips out my inline styles when saving a draft. I searched the FAQ and the forums but didn’t find like that.
    As far as I can see it float isn’t allowed. Same with line-height. Tried to add it to a ‘p’ Tag but it gets stripped out.
    Even margin and padding got stripped from the ‘p’ tag although this may be a result of using float. Don’t know.



    Quite frankly, most formatting gets stripped out by Wp. That is just how it is. The only option to work around it is to learn CSS and work in CSS.

The topic ‘List of allowed inline styles’ is closed to new replies.