What I need is to create cross website transparent watermark like this using only html and css. Have no idea how to keep that always in one place for ex: right bottom side of browser window.
Thanks in advance
Right-click anywhere on the page to which you want to insert a background picture, and then click Page Properties. Click the Formatting tab. Select the Background Picture check box. Select the Make it a watermark check box.
First, create your custom watermark. On the Design tab, select Watermark > Custom Watermark. Choose Picture Watermark and select a picture, or choose Text watermark and type your watermark text in the Text box. Click OK.
#watermark { position:fixed; bottom:5px; right:5px; opacity:0.5; z-index:99; color:white; }
jSFiddle
To make it fixed: Try this way,
jsFiddleLink: http://jsfiddle.net/PERtY/
<div class="body">This is a sample body This is a sample body This is a sample body This is a sample body This is a sample body This is a sample body This is a sample body This is a sample bodyThis is a sample bodyThis is a sample body This is a sample body This is a sample body This is a sample body This is a sample body This is a sample body This is a sample body This is a sample body v This is a sample body This is a sample body This is a sample body This is a sample body This is a sample body This is a sample body <div class="watermark"> Sample Watermark </div> This is a sample body This is a sample bodyThis is a sample bodyThis is a sample body </div> .watermark { opacity: 0.5; color: BLACK; position: fixed; top: auto; left: 80%; }
To use absolute:
.watermark { opacity: 0.5; color: BLACK; position: absolute; bottom: 0; right: 0; }
jsFiddle: http://jsfiddle.net/6YSXC/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With