Using outputField in a html table tag. Can't seem to get the font color to show. Not the planned use of color but need to get this much working.
<table class="htmlDataTable" >
<td style="background-color: lightgrey; color: yellow">
<apex:outputField value="{!s.Key_Broker_Contact_LU_PS__c}" />
</td>
CSS for htmlDataTable:
table.htmlDataTable {
border: 0px solid black;
text-align: right;
border-collapse: collapse;
table-layout: fixed;
}
table.htmlDataTable td, table.htmlDataTable th {
border: 1px solid black;
padding: 5px 5px;
}
table.htmlDataTable tr:hover {
background-color: lightgreen;
}
table.htmlDataTable thead {
border-bottom: 2px solid black;
}
table.htmlDataTable thead th {
font-weight: bold;
color: blue;
text-align: center;
}