• Hi there,

    When I add a div tag to a post it is automatically enclosed in a p tag. How do I stop that from happening?

    I want ‘<div class=”img-dec-r”><img src=”picture.jpg” /></div>’

    but get

    ‘< p > div class=”img-dec-r”><img src=”picture.jpg” /></div < / p >’

    What do I do?

    Many thanks

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘writing posts and adding divs causes p tag in around div’ is closed to new replies.