Chuck,
I use colored backgrounds in cells on NetTalk browses a lot, and this works for me reliably.
1. Add an entry in the \web folder in the Custom.css file:
.greenback{
color:black;
background:#A9F5A9 !important;
text-align:right;
}
.yellowback{
color:black;
background:#FFFF66 !important;
text-align:right;
}
2. In the browse, on each column that I want colored based on a variable, in the Conditional Tab for the column, enter the following conditions:
LOC:FlagField = 'G' CSS Class: 'greenback'
LOC:FlagField = 'Y' CSS Class: 'yellowback'
You could use a database field or a local variable that gets set as the records are read. Make sure you have it entered as a hotfield if needed.
That's it - works smoothly and reliably. The Custom.CSS entries ensure I have black text on the colored background.
Hope that helps,
Mike Springer