Anyone who has built an HTML/CSS sheet-label generator for 30-up Avery 5160 sheets or 4×6 direct-thermal shipping labels eventually hits vertical creep: row 1 aligns inside the die-cut border, while row 10 clips 3 millimeters below the perforation.
1. Why CSS Pixels Drift Across Operating Systems
Browser print engines rasterize or paginate DOM layouts through CSS reference pixels ( 1in = 96px ) before handing the spool to the OS print dialog. Two silent mutations commonly ruin physical pitch accuracy:
Fit-to-Page Auto-Scaling : Chrome and Edge shrink printable boxes by 94%–97% whenever unprintable printer hardware margins intersect the CSS @page box.
Sub-Pixel Rounding Accumulation : An Avery 5160 cell is 2.625 in × 1.0 in with a horizontal pitch of 2.75 in . Rounding fractional CSS flex/grid tracks over 10 rows accumulates enough vertical error to cross the die-cut line.
2.…