OK, I was thinking about having several paragraphs going something like this:
<img align="right" src="image1.jpg">
<h2>Section 1</h2>
<p>Words under this section...</p>
<img align="right" src="image2.jpg">
<h2>Section 2</h2>
<p>Words under that section...</p>
It's working as intended with the images being floating and right-aligned next to the sections, BUT with the problem of image1's vertical size making it "bleed" into the section below and "pushing down" image2 so everything gets kind of messed up, because only its image is pushed down, not the actual text of Section 2.
What I'd like to do would be to somehow make the full Section 1 be treated as a unit so that if image1 has a vertical height taller than the total section + paragraph height of Section 1, the entire Section 2 will be moved down, not just its image.
You see what I mean? Otherwise I can post a picture example. :)
I have some vague memory of a CSS property (or maybe it was a HTML attribute?) called something like "break" to somehow do what I wish?
Question
Malisk
OK, I was thinking about having several paragraphs going something like this:
It's working as intended with the images being floating and right-aligned next to the sections, BUT with the problem of image1's vertical size making it "bleed" into the section below and "pushing down" image2 so everything gets kind of messed up, because only its image is pushed down, not the actual text of Section 2.
What I'd like to do would be to somehow make the full Section 1 be treated as a unit so that if image1 has a vertical height taller than the total section + paragraph height of Section 1, the entire Section 2 will be moved down, not just its image.
You see what I mean? Otherwise I can post a picture example. :)
I have some vague memory of a CSS property (or maybe it was a HTML attribute?) called something like "break" to somehow do what I wish?
Link to comment
Share on other sites
5 answers to this question
Recommended Posts