How best clear:right, after text wrapped around image
-
I’m runnning WordPress 5.0.2.
I need a series of paragraphs, each with an image floated right. But if the text is smaller than the height of the image, the following para needs an html clear:right so that it starts at the correct place.
How best achieve this?
I can code html, but the eventual users can’t.I’ve added:
.group:after { content: “”; display: table; clear: both; }
to the Customised Additional CSS.And on the page I’ve surrounded the paragraphs with:
<div class=”group”>
…. para’s here …
</div>But it doesnt seem to work:(
As a second question – my 2 lines of html
1) <div class=”group”>
2) </div>
Both say on the edit page “This block contains invalid or invalid content”
How should I handle it??The page I need help with: [log in to see the link]
- The topic ‘How best clear:right, after text wrapped around image’ is closed to new replies.