WordPress.org

Ready to get started?Download WordPress

Forums

writing posts and adding divs causes p tag in around div (3 posts)

  1. Silvetti
    Member
    Posted 9 years ago #

    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

  2. Kafkaesqui

    Posted 9 years ago #

    I don't see this at all when I use div tags (on their own line). Any text formatting plugins active?

  3. Silvetti
    Member
    Posted 9 years ago #

    Hi Kaf,

    Textile 1

    ot: did you have anyfurther thoughts on author.php?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.