Need help? Check out our Support site, then

List of allowed inline styles

  1. 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.

  2. 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.

Topic Closed

This topic has been closed to new replies.

About this Topic