function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Brijesh KumarBrijesh Kumar 

How can give a background color of body of tab created by visualforce page

Brijesh KumarBrijesh Kumar

Hi
It's urgent requirement in my project.Please give me a solution as soon as possible.

I create a tab by using visualforce page.

<apex:tab label="Report">
...................
...................
..................(body of tab)
</apex:tab>

How can give a background color of body of tab.I want to set background color="white".


Please give me a solution.

Thanks & regards
brijesh Kumar Baser

Ron HessRon Hess
Code:
<apex:page id="thePage">
        <apex:tabPanel switchType="client" selectedTab="name2" id="theTabPanel">
                <apex:tab label="One" name="name1" id="tabOne">content for tab one</apex:tab>
                <apex:tab label="Two" name="name2" id="tabTwo"     style="background-color:white;"     
                ><div style="background-color:white;" >content for tab two</div></apex:tab>
        </apex:tabPanel>
</apex:page>

 
Brijesh KumarBrijesh Kumar
Thanks your reply.It's greate for me.Thanks again
 
 
Thanks & Regards
Brijesh Kumar Baser