My print preview is the one below
and the actual PDF is this
As you can see the header bottom border's spacing is not the same in preview and in actual PDF. How do i correct this?
Also when i deploy this code in server the preview works fine but when i download the report the whole css and logo is missing, what might be the reason for it?