PDA

View Full Version : Watermark problems


spudorange
06-15-2015, 11:01 AM
Hi

I hope this is in the correct place.

I have been asked to change a web page and place a gif as a background on all the pages.

I read and tried the following:
<style> <!-- body { background-image: url(image.gif); background-repeat: no-repeat; background-attachment: fixed; } //--> </style>

I changed the url (image.gif)bit to the following

<style> <!-- body { background-image: images/Plumbtek_watermark.gif ; background-repeat: no-repeat; background-attachment: fixed; } //--> </style>

What am I doing wrong please

edbr
06-16-2015, 01:13 AM
using an absolute image

<style>
body{ background:url(http://img2.wikia.nocookie.net/__cb20120511212700/gameofthrones/images/f/f6/Daenerys_2x06.jpg) no-repeat fixed;
}
</style>

or relative to your page

<style>
body{ background:url(images/image.gif) no-repeat fixed;
}
</style>