Forum Moderators: not2easy
But at the end of the day that only works for rectangles, looks tacky and, as I'm sure you already suspect, shadows on the individual images will look hundreds of times better (if you like drop-shadows, that is).
What about using something server side to create a separate image of just the drop shadow and then having it absolutely positioned so that it appears behind and below the top. It seems that something like the GD library or ImageMagick should be able to handle the conversion. If it was coded right, it would only have to be run if the drop shadow graphic wasn't already saved somewhere.
Here's how I would start.
Or, create an action in PhotoShop or the Gimp and have it create the drop shadow images for you and then upload 'em all at once.
As I'm writing this, it seems that image transparency would probably be an issue. PNG would be great if you can handle it, but IE has issues with semi-transparent PNGs.
- Ryan
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="2" rowspan="2"><img src="the-image.gif" width="16" height="16" /></td>
<td><img src="top-right.gif" width="16" height="16" /></td>
</tr>
<tr>
<td background="right-edge.gif"> </td>
</tr>
<tr>
<td><img src="bottom-left.gif" width="16" height="16" /></td>
<td background="bottom-edge.gif"> </td>
<td><img src="bottom-right.gif" width="16" height="16" /></td>
</tr>
</table>
You should be able to tell what each of the images should look like from their descriptions. :)