I have an image and paragraph of text next to it:
I want the line beginning with "Always read Breaking Changes" to be below the image:
I can do this with a bunch of \\ lines, but isn't there a better way to force a new paragraph after the image?
\\
SteveMann I want the line beginning with "Always read Breaking Changes" to be below the image:
See "clear floats" in the Wrap plugin: https://www.dokuwiki.org/plugin:wrap#toolbar_picker
- Michael Sy.
michaelsy See "clear floats" in the Wrap plugin
This little test shows what clear does in wrap (whitespace matters!):
clear
<WRAP column 30%> test test test test test test </WRAP> <WRAP clear/> <WRAP column 30%> test test test test test test </WRAP> <WRAP column 30%> test test test test test test </WRAP> <WRAP clear/> <WRAP column 30%> test test test test test test </WRAP> <WRAP column 30%> test test test test test test </WRAP> <WRAP column 30%> test test test test test test </WRAP> <WRAP clear/>
Something learnt! Thanx!
One more reference: https://developer.mozilla.org/en-US/docs/Web/CSS/clear
michaelsy Sorry for piggybacking on this for another discussion that we have elsewhere - but this is just the issue I take with the limited approach to HTML tags that the Wrap plugin offers: this encourages bad practices, as demonstrated here, where obviously the proper HTML for this situation would be a <figure> tag plus <figcaption>for the, well, caption text at the bottom.
<figure>
<figcaption>
Or:
|{{picture.jpg?250}}| Simple image inserted image inserted Simple image inserted Simple image inserted.| **Now here starts the new line**
Take note of the vertical pipes "|". Your picture and the text besides resides in a table now.
virk Thanks. I wound up putting it into a two-column table, as you suggested.
Chris75 This little test shows what clear does in wrap (whitespace matters!):
Floats or floating elements are a separate topic in HTML/CSS. (...and much more...)
- Michael Sy
sascha-leib where obviously the proper HTML for this situation would be a <figure> tag plus <figcaption>for the, well, caption text at the bottom
Sorry, but I can't see the OP asking for a caption. There are special plugins for that.
sascha-leib It looks like a caption, but I was just indicating where normal text would resume .
Hm, well, maybe I misread the question - but the line under the image looks a lot like a caption to me.