This css-code prints a watermark at the top of my document:
<style>
div {
width: 880px;
height: 100%;
display: block;
position: relative;
repeat: no-repeat;
}
div::after {
content: "";
background: url(myimage.gif) no-repeat;
opacity: 0.3;
top: 3%;
left: 20%;
bottom: 0;
right: 0;
position: absolute;
z-index: 1;
}
</style>
How can i change these settings/code to become the following
=> change the size (height - width) of the printed watermark-image
=> how can I get the watermark also at the bottom (bottom) - or even also in the middle of the document (possibly with different images ?)
My attempts are not successful - possibly also the code is not optimal ?
Thanks for help - Leifoet
<style>
div {
width: 880px;
height: 100%;
display: block;
position: relative;
repeat: no-repeat;
}
div::after {
content: "";
background: url(myimage.gif) no-repeat;
opacity: 0.3;
top: 3%;
left: 20%;
bottom: 0;
right: 0;
position: absolute;
z-index: 1;
}
</style>
How can i change these settings/code to become the following
=> change the size (height - width) of the printed watermark-image
=> how can I get the watermark also at the bottom (bottom) - or even also in the middle of the document (possibly with different images ?)
My attempts are not successful - possibly also the code is not optimal ?
Thanks for help - Leifoet