Click to See Complete Forum and Search --> : Applying CSS to a image


Dark Dragon
06-02-2003, 09:49 AM
Ok..here is the deal..I was experimenting with CSS...made a page with a background and I had this graphic that I wanted to have tiled along the top...well, I created the style but now the original background is gone and is replaced by the tiled graphic.

What did I do wrong?

Jona
06-02-2003, 11:26 AM
You can't have two backgrounds on the same page. You can, though, have the top of the page have a scrolling image across the top.

Jona

Dark Dragon
06-02-2003, 11:41 AM
Gah!!:mad:

What bleepin' good it that then? :rolleyes:

Oh well...thanks Jona.

Jona
06-02-2003, 12:48 PM
Eh? Not sure I understand if you want me to provide a solution to the problem or if you've decided to go about it some other way...

Jona

Robert Wellock
06-02-2003, 12:59 PM
You could have tried z-index for the second image or used a division and then set its background image but if you really need the canvas to do two separate 'body background-image' things then it is not possible using CSS alone.

sheila
06-02-2003, 01:10 PM
Try using two <div> sections, one for each background (attach the backgrounds to the divs rather than the page body).