Wednesday, March 16, 2005 8:56 AM
I read
a great article written by Alessandro Fulciniti, linked by
this MSDN blog this morning. The technique uses a combination of CSS and JavaScript of all things to create the effect, so it's not enough to just declare a given element. You'll need to name the elements, then call the new JavaScript functions to round out those elements. All in all it adds little overhead, and best of all you save the hassle of all of those rounded images in different colors! The function lets you specify which element to round, whether you want top, bottom, or both, which colors for outside and inside, and regular or smaller rounding radius. The results are quite impressive!