* change deprecated HTML <center> tag to <div style="text-align:center">

This commit is contained in:
slawkens
2018-06-01 11:55:04 +02:00
parent 0bb1d869af
commit 1926c5ec5b
35 changed files with 121 additions and 121 deletions

View File

@@ -62,7 +62,7 @@ function getColorByPercent($percent)
if(!$empty_active)
{
echo '<tr BGCOLOR="'.$bgcolor.'"><td colspan=2><center><i>There are no active polls.</i></center></td></tr>';
echo '<tr BGCOLOR="'.$bgcolor.'"><td colspan=2><div style="text-align:center"><i>There are no active polls.</i></div></td></tr>';
}
echo "</table><br><br>";
@@ -91,7 +91,7 @@ function getColorByPercent($percent)
if(!$empty_closed)
{
echo '<tr BGCOLOR="'.$bgcolor.'"><td colspan=2><center><i>There are no closed polls.</i></center></td></tr>';
echo '<tr BGCOLOR="'.$bgcolor.'"><td colspan=2><div style="text-align:center"><i>There are no closed polls.</i></div></td></tr>';
}
echo "</table>";