Forum Documentation

Background image no-repeat css not working

Background image getting repeated: We have a top level div with class draft , and for this we are adding a background image
background: url('draft.jpg') no-repeat top;
it was working till prince 6.0 i.e show the image as background only in first page top and not repeat it in other pages , but post upgrading it to 15.3 , the background image is getting repeated in each page, tried a lot of work arounds like setting background-repeat: no-repeat;
adding the image only in first page i.e using @page :first { , but the image is still repeating
Adding "box-decoration-break: slice" will prevent background be repeated on the next page when a box is split.