AJAX TabContainer - Changing the Look

I was wondering if it was possible to change the AJAX tab container and its child TabPanel controls.  The reason is; the white background conflicted with my color scheme.  In doing some research, I found this:  http://www.msdner.net/asp.net-archived/118/34-1022-1187396.shtm

 See, the tabcontainer control defines some in-line styles that it uses, and it's possible to override them by specifying that particular name (like ajax__tab_body) as a child class such as this:

.MyStyle .ajax__tab_body
{
<!-- Some style -->
}

This MyStyle style can be applied to the tabcontainer, and the body will be overridden.  I tried that, and overrode all of my styles, including the image tabs!  There wasn't any header.  So, I ended up scrapping it for now, but maybe some of this may make some sense to you.  Maybe I set it up wrong, and I hope that maybe you can have better success than me.

Published Saturday, February 02, 2008 6:46 PM by bmains
Filed under:

Comments

No Comments