Skip to main content

Box decoration at a break

boxDecorationBreak, CSS Fragmentation 3 5.4: what a box's border, padding and corners do where a page or a line cuts it.

  • slice, the default: the red notice is open at the foot of one page and at the head of the next, as if one tall box were cut
  • clone: the green notice is two whole boxes, each closed and padded at the break, its corners rounded
  • A highlighted headline wrapped across lines: sliced, each line's highlight is cut at the wrap; cloned, each line has its own padded box
  • A framed list across a page, cloned

What to look for. The red box open at the foot of page 1 and again at the head of page 2; the green box closed with rounded corners at the foot of page 2 and reopened, bordered and padded, at the head of page 3; the purple list frame closed on both sides of the break between pages 3 and 4.

Features used: PDF/A-4, PDF/UA-2, DOCX Transitional conformance, lists