WordPress.org

Support

Support » Themes and Templates » Editor unable to handle floating side-by-side elements cleanly

Editor unable to handle floating side-by-side elements cleanly

  • We’re trying to put a multiple product descriptions on a page, with an image on the left and a varied description to the right (meaning the height could extend beyond the image based on the text), but WordPress just throws everything in Paragraph tags and doesn’t clear the floats ever. Typically I would do something like this:

    <div>
    <p style=”float: left”>image</p>
    <p style=”float: left”>description</p>
    </div>
    <div style=”clear: both”></div>

    However WordPress doesn’t seem to have any ability to do this. Is there any recommendation on this?

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Editor unable to handle floating side-by-side elements cleanly’ is closed to new replies.