Hi all !
I wrote this short code :
<html>
<head>
<style>
table, th{
max-width: 600px;
}
.e2 {
width: 200px;
}
</style>
</head>
<div style="background-color:TRANSPARENT;width:603px">
<body>
<table>
<tr bgcolor="TRANSPARENT" height="20">
<td class="e2" style="background-color:GREEN"></td>
</tr>
</table>
</body>
</div>
</html>
I have a data base column (in oracle apex),
And I would like to have something like that (a multiplication) :
.e2 {
width = #column# * 600;
}
Because I would like to have a green horizontal bar chart with different size depending on the values in my database column.
So, I tried calc() : did not work...
And I also tried :
<td style="background-color:GREEN" width=#column#*600></td>
<td style="background-color:GREEN" width=calc(#column#*600)></td>
Those 2 lines did not work too..
Do you have any idea how to do this multiplication please ?
Best regards,
acnos