css style에서 단위(px)가 설정되지 않은 것들 수정

This commit is contained in:
2018-04-15 23:57:22 +09:00
parent d567f3218a
commit 5a94bf434a
19 changed files with 38 additions and 38 deletions
+3 -3
View File
@@ -29,12 +29,12 @@ function bar($per, $h=7) {
$per = round($per, 1);
if($per < 1 || $per > 99) { $per = Util::round($per); }
$str1 = "<td width={$per}% background=".ServConfig::$gameImagePath."/pb{$h2}.gif></td>";
$str2 = "<td width=*% background=".ServConfig::$gameImagePath."/pr{$h2}.gif></td>";
$str1 = "<td width='{$per}%' background=".ServConfig::$gameImagePath."/pb{$h2}.gif></td>";
$str2 = "<td width='*%' background=".ServConfig::$gameImagePath."/pr{$h2}.gif></td>";
if($per <= 0) { $str1 = ""; }
elseif($per >= 100) { $str2 = ""; }
$str = "
<table width=100% height={$h} border={$bd} cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:1;>
<table width=100% height={$h} border={$bd} cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black>
<tr>{$str1}{$str2}</tr>
</table>";
return $str;