You need to sign in to do that
Don't have an account?
How to set <tr> border color to same as background of cell
I am using this to achieve the backgroun in a <tr. tag on an embedded table. How can I make the white verticle lines on the cell borders the same background color to give the whole row a uniform look ?
input[type="text"]
{
color:red;
}
.red text {
color:red;
}
.gridtable{
background-color: #dedede;
border-color: #dedede;
}
</style>
........
<table id="t01" style="width:100%" >
<tr Class="gridtable">

input[type="text"]
{
color:red;
}
.red text {
color:red;
}
.gridtable{
background-color: #dedede;
border-color: #dedede;
}
</style>
........
<table id="t01" style="width:100%" >
<tr Class="gridtable">
input[type="text"]
{
color:red;
}
.red text {
color:red;
}
.gridtable{
background-color: #dedede;
border-color: #dedede;
}
</style>
........
<table id="t01" style="width:100%;border-collapse: collapse;" >
<tr Class="gridtable">
All Answers
input[type="text"]
{
color:red;
}
.red text {
color:red;
}
.gridtable{
background-color: #dedede;
border-color: #dedede;
}
</style>
........
<table id="t01" style="width:100%;border-collapse: collapse;" >
<tr Class="gridtable">
<th Class="gridtable"><apex:inputField value="{!audit.General_Information__c}"onclick="checkAlltest(this, 'sel7')" styleclass='inputtextcolor' /> </th>
<th Class="gridtable"><apex:inputField value="{!audit.General_Information__c}"onclick="checkAlltest(this, 'sel7')" styleclass='inputtextcolor' /> </th>
to the page but it did not change the font color. Below is a larger block of the code.
<style type="text/css">
.inputtextcolor{
font-color:blue;}
.gridtable{
background-color: #dedede;
border-color: #dedede;
font-color:blue;
}
</style>
.inputtextcolor{
color:blue;}
Made the switch but font on lable of inputField still not changing to blue.
<style type="text/css">
.inputtextcolor{
color:blue;}
.gridtable{
background-color: #dedede;
border-color: #dedede;
color:blue;
}
</style>
.....
<table id="t01" style="width:100%;border-collapse: collapse;" >
<tr Class="gridtable">
<th Class="gridtable"><apex:inputField value="{!audit.Policy_Information__c}" onclick="checkAlltest(this, 'sel1')" /> </th>
<th Class="gridtable"><apex:inputField value="{!audit.Driver_Information__c}" onclick="checkAlltest(this, 'sel2')" /> </th>
<th Class="gridtable"><apex:inputField value="{!audit.Vehicle_Information__c}" onclick="checkAlltest(this, 'sel3')" /> </th>
<th Class="gridtable"><apex:inputField value="{!audit.Limit_Information__c}" onclick="checkAlltest(this, 'sel4')" /> </th>
<th Class="gridtable"><apex:inputField value="{!audit.Rating_Information__c}" onclick="checkAlltest(this, 'sel5')" /> </th>
<th Class="gridtable"><apex:inputField value="{!audit.Loss_Information__c}" onclick="checkAlltest(this, 'sel6')" /> </th>
<!-- <th Class="gridtable"><apex:inputField value="{!audit.General_Information__c}" onclick="checkAlltest(this, 'sel7')" /> </th> -->
<th Class="gridtable"><apex:inputField value="{!audit.General_Information__c}" onclick="checkAlltest(this, 'sel7')" styleclass="inputtextcolor" /> </th>
</tr>
color:blue !important;
Can you try changing color by inspect elemet? May be its inheriting gridtable color.