I have an image and I would like to print it on all pages as the page title in the center. I tried different methods, but the image overlaps with the contents of the page. Here is my HTML and CSS.
HTML code
<div class="pageHeader" align="center">
<img width="600" height="150" src="logo.jpg" alt="logo">
</div>
CSS
<style type="text/css" media="print">
div.pageHeader
{
position: fixed;
top: 0;
}
I tried to find the perfect solution to my problem, and I still canβt solve it.
user3145600
source
share