Ok cheers for that, worked perfectly. One thing I note, though, is that if a refresh the page (in FF), the div contained image dissapears for longer, so the image defined in <body> appears by itself for a while.....
code I used, for those wanting to do the same
in templates/YOUR_TEMPLATE/common/tpl_main_page.php:
BELOW:
Code:
<body id="<?php echo $body_id . 'Body'; ?>"<?php if($zv_onload !='') echo ' onload="'.$zv_onload.'"'; ?>>
I entered ABOVE: I entered:then in the stylsheet:
add your first image by layer. In this case as I am layering images to create a background I am starting with body.
add to body style:
Code:
background-image: url(../images/firstLayerImage.jpg);/*use relative file path*/
background-position: top left;/*(top/center/bottom left/center/right) or (x-% y-%) or (x-pos y-pos)*/
background-repeat: no-repeat; /*or repeat or repeat-y or no-repeat*/
background-attachment: fixed; /*or scroll */
then for every div I created, and every image layered I enter:
Code:
/*BOF bg layer div*/
div#bgLayer {
width: 100%;
background-image: url(../images/layerImage.jpg); /*use relative file path*/
background-position: top right; /*(top/center/bottom left/center/right) or (x-% y-%) or (x-pos y-pos)*/
background-repeat: no-repeat; /*or repeat or repeat-y or no-repeat*/
background-attachment: fixed; /*or scroll */
}
/*EOF custom bg div*/