On Jul 22, 2005, at 5:55 PM, Abyss Information wrote:

Hiya CSS friends,

Is it possible to have to have 2 background images?
eg one in the top left hand corner and one in the top right hand corner of the one div?

Nope. You'd have to specify 'background-image' twice, and the browser's only gonna pick one :-).

Choices I can think of offhand:

1) Create a single background image from the two. That'll only work if the width of the <div> is going to be fixed.

2) Make a div that just holds the two images (as content, not background). Float one left, the other right. Put a 'z-index: -1' on this div so that it "acts like a background", and put 'background-color: transparent' on the foreground div that holds your real content.

HTH,
—ml—

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to