|
|
Subject:
Adding watermarks to a html page already using a tiled background image
Category: Computers > Internet Asked by: richardjmoss-ga List Price: $10.00 |
Posted:
24 Jun 2004 08:09 PDT
Expires: 24 Jul 2004 08:09 PDT Question ID: 365606 |
|
Subject:
Re: Adding watermarks to a html page already using a tiled background image
Answered By: palitoy-ga on 24 Jun 2004 09:09 PDT Rated: |
Hello Richardjmoss, I believe the solution to your problem would be to use a <div> tag to enclose your content. By this I mean you should continue to use your current .css code to display the watermark on the background of the page. You can then place everything that you would normally put in your <body> tag with the background in a <div> tag - simply place <div> after the <body> tag and </div> before the </body> tag. You can then use a little css code to put a background to the <div>. I am conscious that this is very hard to explain so I will give you a small example below for you to follow. pagewatermark.png and divwatermark.png would be the background images for each element and you should note that the pagewatermark.png *AND* divwatermark.png are displayed which they are not with your current solution. <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <style type="text/css"> <!-- body { background-image: url(pagewatermark.png); background-repeat: repeat-y; background-position: right bottom; } div { background-image: url(divwatermark.png); width: 100%; } --> </style> </head> <body> <div>This is where your page content goes.</div> </body> </html> If you have any further questions on this subject please ask for clarification and I will do all I can to help. | |
| |
| |
| |
|
richardjmoss-ga
rated this answer:
Prompt and courteous responses, and provided a viable solution to a problem which had me stumped. |
|
There are no comments at this time. |
If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you. |
Search Google Answers for |
Google Home - Answers FAQ - Terms of Service - Privacy Policy |