Hi All,
i'm using the below in compose to create a html table. I want to be able to format the color of the font depending on the value. i.e. Yes = Green, No = Red, Maybe = Amber.
I'm not familiar with html/ CSS and have used an online formatter to create the code, so not sure where/ how to edit it. Can someone help on where to put whats needed please?
<style>
table.BC {
border: 1px solid #1C6EA4;
background-color: #EEF3FF;
width: 100%;
text-align: left;
}
table.BC td, table.BC th {
border: 1px solid #AAAAAA;
padding: 0px 2px;
}
table.BC tbody td {
font-size: 15px;
color: #05004F;
}
table.BC thead {
background: #0C2CA4;
border-bottom: 2px solid #000000;
}
table.BC thead th {
font-size: 20px;
font-weight: bold;
color: #000000;
text-align: center;
}
table.BC tfoot td {
font-size: 14px;
}
table.BC tfoot .links {
text-align: right;
}
table.BC tfoot .links a{
display: inline-block;
background: #1C6EA4;
color: #FFFFFF;
padding: 2px 8px;
border-radius: 5px;
}
</style>