WP re-writes html. Moves p-tag.
-
I want images to float left before paragraphs by using either inline css or good old html align attribute. Like this:
<img style="float:left" /><p>blah blah</p>
or
<img align="left"><p>blah blah</p>
I have tried both “code” option or the “html” option in the wysiwyg editor. Regardless which I use or how I do it, WP re-writes the code and includes the image in the paragraph like this:
<p><img style="float:left" />blah blah</p>
or
<p><img align="left">blah blah</p>
Due e.g. style reasons, I don’t want the images included, but by themselves.
How can I stop WP from this?
Cheers,
Dan
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘WP re-writes html. Moves p-tag.’ is closed to new replies.