• I have been using WP for a while and begun to really enjoy the caption tool. But I keep discovering that just before the caption <div> is added, somewhere the post is including a <p> </p> just before it. See the source code here:

    http://wordpress.pastebin.com/XCEFZzcq

    But in Firebug, I see a <p> </p> pair before the <div> ... </div> – which adds padding I do not want. Any idea what/why?

Viewing 1 replies (of 1 total)
  • Thread Starter sdickert

    (@sdickert)

    One other thing: I note this a couple of times when I am using the captions – but also in the following case:

    When the code says:
    <p><div id"foo">Test one two three</div></p>

    the browser seems to render in the following fashion:

    <p> </p>
    <div id="foo">Test one two three</div></p>

    I am using FF 3.6 and Firebug 1.6.

Viewing 1 replies (of 1 total)
  • The topic ‘Removing the tag that occurs before the caption code’ is closed to new replies.