On 3/23/06, Michael Clayton <[EMAIL PROTECTED]> wrote: > For my next trick, I'll need a div with rounded corners on top of a > textured background. Any volunteers from the audience?
My adaptation of Roger's solution is at: http://curby.net/doc/roundbox/ You can have explicit divs in the original markup instead of using javascript of course. This method doesn't give fuzzy, anti-aliased edges for arbitrary backgrounds (which is to say it doesn't use PNG alpha channels). My examples, and the final site this is intended for, all use dark blue (but not flat-color) backgrounds, so I use an image editing tool to make the corners work reasonably well against that general family of background colors. ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/