View Full Version : use different backgrounds in one div box

04-04-2009, 09:05 AM

Is it possible to have different background image on left , diff image on right and different bck image on boottom in one div box

Basically i want to have shadows around the edges of my content DIV box using different image strips

04-04-2009, 09:37 AM
Are you using a fixed width for your "content DIV"? If so, combine you left and right shadows and apply it as a background, with repeat-y.

04-04-2009, 11:03 AM
Actually i already have one image coming on the top of content .

Is there any way i can have other images on the sides?

I have tried combining the image on left and right and applying as the background but nothing is appearing i don't know why

i am using

<div id ="wrapper">

<div id=header>


<div id="content"

<div id="footer">



04-05-2009, 05:47 PM
The short answer is that you cannot have more than one background image in one div. There are many workarounds to this. Try Stu Nicholls CSS Play (http://www.cssplay.co.uk/) and put 'shadow' in the search box.