|
I have a website layout problem, appreciate any help.
Picture a black vertically scrolling rectangular block centered horizontally. This is where the content goes. The background is gray. On the 4 edges of the block where the black meets the gray, I'd like a shadow. The finished layout would be a black block in the middle of the page with drop shadow coming off of all sides.
I have slices of the shadow, but I don't know exactly how to put it together so that all four sides have a shadow. I considered using 5 float divs, one for each of the shadows and one for the main block (in between the left and right shadows). However, how could I get the left and right shadows to expand to fill the entire height of the main block - but not extend past it?
Thanks for any input.
Last edited by yangez; 03-24-2009 at 04:55 PM..
|