• autismne

    (@autismne)


    Here’s the post that I’m having trouble with:

    https://autism-news-beat.com/?p=238

    In visual editor, the text wraps nicely around the image. When I click on preview, the image is still flush left, but the text doesn’t wrap. You can see it in link:

    https://autism-news-beat.com/?p=238

    Is this normal? Why would I have to insert code if the text wraps properly in the visual editor?

    Also, a newbie question: is CSS the same as the “code” button on the HTML editor?

Viewing 1 replies (of 1 total)
  • kwbridge

    (@kwbridge)

    These lines are in your CSS file – style.css

    .entry img.left { padding: 3px; margin: 0.5em 15px 0.5em 0; border: 3px double #bbb; float: left; clear: left; }

    .entry img.right { padding: 3px; margin: 0.5em 0 0.5em 15px; border: 3px double #bbb; float: right; clear: right; }

    .entry img.center { display: block; padding: 3px; margin: 0 auto 1.5em auto; border: 3px double #bbb; float: none; clear: both; }

    If you add align in front of left, right, and center it should work the way that you want. For example, .entry img.alignleft

    Code on the html editor is the tag used to insert code into your post – it isn’t the same as your css file.

Viewing 1 replies (of 1 total)
  • The topic ‘Text won’t wrap around image’ is closed to new replies.