Home > Q&A > body text
How to output multiple lines of text and images behind a picture
Single2019-05-09 16:58:57
Put the image in a div and float it on the left. Put the text in a div and float it. Then adjust the page as needed
Can the left and right floats control the distance? Why do I jump directly to the border when I float? The middle ones cannot be separated.
It can be separated, or you can convert the image into a block element and operate it directly.
Add margin-left to the left-floating div. Add margin-right to the right-floating div to control it.