I want to achieve this in CSS - not CSS3 as I want it to be supported by all browsers
ie a div containing content, with the shadows on every side. The top area will be
You can do this with three divs, assuming they are all the same (fixed) width:
Hello World! .top{ background:url('top.png'); height:20px; width:800px; } .middle{ background:url('middle.png') repeat-y; width:800px; } .bottom{ background:url('bottom.png'); height:20px; width:800px; }
Hello World!