PDA

View Full Version : Problem with tabpanel background



vikaskapoor
4 May 2009, 4:29 AM
Hi,

I am using a tabpanel but when it renders it has background white
But in firebug when I comment out


.x-tab-panel-body{
background-color: #FFFFFF;
border-color: #8DB2E3
}


Refer the screenshot:

syscobra
4 May 2009, 9:36 AM
what you want with that?.
If you comment out the white background it doesn't get rendered...
Whats the problem? you need other color background for the panel?

vikaskapoor
4 May 2009, 7:22 PM
here what I want is have a blue colored default background for the tabpanel and what I am having right now is white colored background.

vikaskapoor
5 May 2009, 2:19 AM
Is there any config attribute in tabPanel to make its background as transparent as we have in formPanel

syscobra
5 May 2009, 9:18 AM
you can try to use in your panel config:

...
style : 'background-color:transparent;',
...

or the color you want...

vikaskapoor
5 May 2009, 9:06 PM
I tried the same but no results :s

syscobra
6 May 2009, 2:35 PM
strange...
and if you do this:

...
style : 'background-color:transparent !important;',
...
or try in the tabpanel config not in the inside tab:

...
bodyStyle : 'background-color:transparent !important;',
...

Same result?
please add an screenshot, and put all the code firebug is giving you...this is because maybe you have something overriding your style setting.

leonardomleitao
21 Apr 2012, 3:03 PM
.x-panel-body-default {
background-color: #FFFFFF;
background-image: none;
}