• hi there

    I’m trying to do some styling on an image inserted into a post – ideally, I’d like to float the header and post text to the left, and have the image float right.

    The problem I’m having is that since the image and text are all wrapped in the p tag inside the post, no matter how I alter the styling the image always sits lower than the post title h2 tag. Can anyone think of a way to simply float the title and post p text left and leave the image to the right without any nasty hacks?

    Thanks in advance..

    Toby

Viewing 3 replies - 1 through 3 (of 3 total)
  • Where is the image within the markup?

    Thread Starter phobic

    (@phobic)

    the image is placed when writing the post – so the image is within the ‘<p>’ tag, along with the body text of the post.

    I’ve not seen your site, so I can’t be 100% sure but I’m 99% sure that it’s not possible without getting into some very heavy PHP. There’s no way to achieve it reliably using CSS.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘image in post’ is closed to new replies.