Forum Bugs

prince-bleed / crop marks can change the content

ahaSystime
I'm working on a project where i've styled my pdf without crop marks.

Then when i was happy with the result i added the crop marks with a 3mm bleed. This however ended up changing some of the images layout.

If i make the prince-bleed smaller og add clear: left/right; to the images, it goes back to the correct styling.

As far as i understand prince-bleed and crop marks should change the content in any way.
mikeday
How are the images being styled normally? Are they regular document content?
ahaSystime
Hi,

Thanks for the quick reply!

Without crop marks:


With crop marks:


So the images are shrunk and put next to each other.

    

.div-containint-left-image {
        background-color: #e6e6e6;
        margin-left: -11px;
        padding-left: 16px;
        padding-right: 8px;
        margin-top: -2px;
        .csc-textpic-above .csc-textpic-image.percent-49 {
            max-width: 100%;
        }
        width :47%;
        float: left;
}

.div-containing-right-image {
        background-color: #e6e6e6;
        padding-left: 8px;
        margin-right: -11px;
        padding-right :16px;
        margin-top: -2px;
        .csc-textpic-above .csc-textpic-image.percent-49 {
            max-width: 100%;
        }
        width: 47%;
        float: right;
}




Is this a help?

Thanks again!

Edited by ahaSystime

ahaSystime
Is there anything i can do?
markbrown
Thanks for reporting the issue. When using floats in this way, adding clear: left/right as you suggested makes the layout more robust, so that's usually the appropriate thing to do.

Mark

Edited by markbrown