This topic is locked
[SOLVED]

 Change Font Color

6/27/2017 7:22:50 PM
PHPRunner General questions
N
nti author

Need help, why can we not change the text color below at $row["rowstyle"]= ?
font-weight:bold; works, font-style:italic; works, font-color:#ffffff; does not work


if ($data["Status"]==3){

$record["css"]='background:#DC143C;';

$row["rowstyle"]='style="font-weight:bold;font-style:italic;font-color:#ffffff;"';
} elseif ($data["Rep"]=="UNA"){

$record["css"]='background:#fafc94;';
} else {
// do nothing
}
N
nti author 6/27/2017

Found the solution


$row["rowstyle"]='style="font-weight:bold;font-style:italic;color:white"';