This page is for the webservant. It documents simplybible.com’s watermarking system. To escape from here, use Kanga Korna,
The normal background for simplybible.com pages is a gradient, accross the page, from light green to white. The green at the left edge of the page quickly vignettes to white so that most of the page has a plain white background. The key background image is imgbgblank.jpg (size 900 wide by 700 high). This is the green to white gradient. From the top left corner of this image, a second image is cut imgbg.jpg (size 400 wide by 20 high). The small image is repeated down the page by placing the following entry in the
body
{
background-color:#ffffff;
background-image:url(imgbg.jpg);
background-position:left;
background-repeat:repeat-y;
}
The key background image can be used as the background for a div element. This will cover the normal background seamlessly. The div element is
<!--[WATERMARK BEGIN]-->
<div class="bgblank">
(insert continuing page content)
<!--[WATERMARK END]-->
</div>
Of course this div element requires its own class definition in the cascading style sheet,
.bgblank
{
background-image:url(imgbgblank.jpg);
background-position:left;
background-repeat:no-repeat;
}
This produces a seamless background, such that you cannot tell, from the browser's display of the page, that the div element is even there. Of course it would be rather pointless doing this, if not for the fact that the div element's background image imgbgblank.jpg makes a nice canvass for a watermark. I will explain that in a moment, but first it is necessary to understand how the div element's background image and the body element's background image blend together.
The div element does not inherit the body element's background. However the div element's background's style specification includes
You create a watermark by replicating imgbgblank.jpg, and adding a watermark image to the replica.
Copy imgbgblank.jpg as a template and save it with a new name such as imgbgdove.jpg which you will notice conforms to a pattern: all watermark images have names starting with imgbg
Cut a suitable image to an interesting shape and suitable size, and paste it on to the template as a new layer. Soften the edges of the layer to create a vignette. Next make the layer about 50% transparent, then adjust brightness and contrast until the image is sufficiently washed out yet retaining detail. This is an art, not a science, and some trial and error will be necessary. Keep saving the image as you work, and viewing it on the actual web page. Finally adjust details of the
Each watermark must have its own style definition, which is exactly like the one for imgbgblank.jpg except that blank will
Watermarks should be used judiciously. They should not be
Using a watermark does not cause the page to load more slowly. The textual content of the div element will be loaded before the background image. Even if the background image takes a few moments to appear, the user in the meantime can still be looking at and reading the
Be careful to place the div beginning and end tags outside of discrete magor elements such as headings and paragraphs. Make sure there is
Pages that contain text boxes may not be suitable for watermarks, since text boxes have an opaque background colour which could cover some of the watermark. Besides, a page could look too “busy” if a watermark competes with other visual elements. Use watermarks on pages which are mainly simple text without illustrations
Looking at the area of this page near where you are now reading, you can see an image beneath the text. This is an example of a watermark. Other examples are on
Home | Bible Topics | The Hub | List | Next