Hello All,
Can someone help me how can I highlight numbers in HTML File that are greater than 2 GB
below is the content of HTML File:
<!DOCTYPE html> <html> <style> body { font-family:Calibri; font-size:12pt; color:#1F497D} td, th { border:1px solid black; border-collapse:collapse; } th { color:white; background-color:black; } table, tr, td, th { padding: 2px; margin: 0px } table { margin-left:50px; } </style> </html> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<center>
<style>
align : "center"
h1, h5, th { text-align: center; font-family: Segoe UI; }
table { margin: auto; font-family: Segoe UI; box-shadow: 10px 10px 5px #888; border: thin ridge grey; }
th { background: #0046c3; color: #fff; max-width: 400px; padding: 5px 10px; }
td { font-size: 11px; padding: 5px 20px; color: #000; }
tr { background: #b8d1f3; }
tr:nth-child(even) {
background: lightgray;
}
tr:nth-child(odd) {
background: white;
}
}
</style>
</center>
</head><body>
<table>
<colgroup><col/><col/><col/><col/><col/><col/><col/><col/></colgroup>
<tr><th>FolderName</th><th>Size</th><th>AppData</th><th>UPN</th><th>GivenName</th><th>Surname</th><th>Office</th><th>Title</th></tr>
<tr><td>abcx</td><td>16.34 GB</td><td>3.53 GB</td><td>abc@xyx.com</td><td>abc</td><td>xyz</td><td>qwer</td><td>mnop</td></tr>
<tr><td>abcdx</td><td>4.34 GB</td><td>1.53 GB</td><td>abcd@xyx.com</td><td>abcd</td><td>xyz</td><td>qwer</td><td>mnop</td></tr>
</table>
</body></html>
Example:
say p> 2,
If size is greater than 2 GB, I just need to replace the
<td>p GB<
as
<td style="background-color:yellow;">p GB<
can someone help me please