Home › Forums › CSS › Inner Box Shadow, on one or two Sides? › Re: Inner Box Shadow, on one or two Sides?
December 14, 2011 at 6:17 am
#92691
Participant
If you can’t use other DIVs for left and right, can you place DIVs or P’s or other elements inside the div? If that’s the case, I would do something basic-ish like this:
[EDIT: GARBAGE CODE REMOVED]
I have not fully tested this in all browsers (I used a gradient generator and then changed a few things here and there) but perhaps you get the idea. It’s more to show you the nested divs approach for this.