On 6/11/07, cssd <[EMAIL PROTECTED]> wrote: > > > What's the most efficient way of doing image based tabs? > > First thing that comes to my mind are CSS sprites: > > http://alistapart.com/articles/sprites > > However, there are two approaches and I am not sure which one is best: > > 1. using one image for all the tab states > 2. using one image per tab that contains all states for particular tab > > In either case it work but I am afraid that in case #1 the image will slow > down the page load - on the other hand loading 9 images for each of the tab > is not fast either... > > Any ideas? > > Thanks
the way i usually to do it is to use one background image with multiple states that you can just have shift around depending on the users actions. in my experience background images don't take long to load so you won't see that little flicker you see if you're swapping out an image hope that helps Jeff ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- 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/