CSS: Easy to do?

Soldato
Joined
5 Mar 2003
Posts
10,771
Location
Nottingham
I'm messing around with a personal site and when I apply a css class to a div I want it to look like this:
2apx1g.png


Now I know I could fix the size of the divs and have numerous background images to fit that, but it seems a bit 'wrong'. Is there a way to do it with CSS?

I was thinking maybe have the drop shadow as a back ground image, the filtering done via CSS (as seen here: http://css3please.com/), but not sure how I'd do the top section and bottom section (i.e. no drop shadow on the top, drop shadow all along the bottom).

Thanks in advance!
 
Thanks guys (and thanks for even slicing the image up - appreciated!)

Was hoping there was some way around having to create extra divs, but it's not a massive deal and gives the required effect.

Thanks.
 
Back
Top Bottom