Forum Moderators: not2easy

Message Too Old, No Replies

Can I use 2 Background tags?

         

duderdude2

9:13 pm on Mar 8, 2005 (gmt 0)

10+ Year Member



Right now, I have a small background images that runs down the left side of my page. What I would like to do is place another background image behind that, so the image that runs down the left will appear on top of the image.

Can that be done?

absorption

9:44 am on Mar 9, 2005 (gmt 0)

10+ Year Member



how about specifying a background image in your body, then setting up a left side div (.backtable in this instance) with a background image applied to it?

html, body {
height: 100%;
background-image: url(../assets/home_k.jpg);
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
div.backtable {
position: absolute;
top: 0px;
right: 0px;
bottom: 0px;
left: 0px;
width: 85px;
height: 100%;
background-image: url(mirror01.jpg);
}

duderdude2

9:51 pm on Mar 10, 2005 (gmt 0)

10+ Year Member



I tried that, but it didn't seem to work. But I am an idiot,

The background image shows up fine, but the image I want to run down the left side does not.

<No site specifics, thanks. See TOS #13 [WebmasterWorld.com]>

[edited by: SuzyUK at 7:33 am (utc) on Mar. 11, 2005]