Skip to content

Tag: position

Why a div overlays above other?

I’ve kept a Javascript function printthis() for printing purpose that prints everything in the div id printthis except what is given with the class d-print-none. The code works fine in the opening page, the page before printing. But upon clicking print, the page takes wrong alignment, means the table head appears in between 2 address divs like in the below