Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I have a page where the user can insert rich text and images (via 2 Summernote fields).

When the user print the page in Chrome, sometimes the layout is broken. Basically it seams that when there is no more space for an image on page, the image is moved to the next one (which is correct), but then the text is over the image, and then the image over the text:

(please note that text is blurred on purpose)

Example

In this particular situations, by settings the margins to none or by shrinking the images, the green image stay on the first page and the text is displayed fine. But this is clearly a work.around for this particular example.

Is there any CSS rule that can I apply to the images in order to avoid this issue?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
238 views
Welcome To Ask or Share your Answers For Others

1 Answer

等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...