Skip to content
Advertisement

Tag: overlay

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

Pure CSS overlay scrolling

using only css and html, is it possible to scroll away the inner div (overlay red div) completely before scrolling down the rest of the page? Essentially, wondering if overlay scrolling while freezing …

Advertisement