RE: Rounded corners on images, CSS-only

Hi Tim,

Neat trick you did there! Couldn't resist myself but I made a javascript enhanced version of
your nifty CSS trick.

The cool part about this little script is that it can save you the hassle of having to apply your
trick on a truckload of images as this script does the job automagically for you :-)

While I was at it I kicked out the required float on the wrapping element and am falling back
on a <span> as the wrapper element. Note that one must set the width and height on the
images in order for it to work correctly.

Downside of this version that it relies on Javascript ... but with the idea of progressive
enhancement kept in mind I think we can ignore this issue ;-)

Hope you like it.


Blues Brothers