Hi Everyone,
Sorry about the subject heading being undescriptive. I am trying to get a box effect on screen (e.g.: using a background image for the entire page and then using an image inside the pages table). This isn’t the easiest thing to describe, basically I have a background image for the entire page and inside that image I wan’t to put another image for the background of the tables that I am using for page layout. Effectively it is like having two pieces of coloured paper, the first piece is the full page and the second is a slightly smaller piece, giving the effect of only showing about one centimeter of the first piece. I hope that this isn’t impossible to understand, why is it so difficult to describe something so simple!
I have used cascading style sheets to achieve this by doing the following.
<style type=”text/css”>
.box
{
margin-bottom: 5px;
margin-left: 5px;
margin-right: 5px;
margin-top: 5px;
}
</style>
Then applying this to my “master” (top level) table as follows:
<body background=”../pictures/backgrounds/background_three.jpg”>
<table background=”../pictures/backgrounds/background_two.jpg” class=”box” width=”98%”>
This approach works in the new browsers (which have good css support) however when I try viewing this code in Netscape 4.7 or earlier I get some really ugly (disjointed) results.
Is there any way of achieving what I am trying to achieve using JavaScript or something similar (something that will work better in the older browsers?)?
Thanks for your time.
Regards
David