MDL-11397 bug with IE 6 not displaying anonymous results correctly.

merged from HEAD
This commit is contained in:
danmarsden 2007-10-24 21:33:16 +00:00
parent f2c0c26767
commit 5fa1dcdb43

View file

@ -515,7 +515,7 @@ function choice_show_results($choice, $course, $cm, $forcepublish='') {
if ($maxcolumn) { if ($maxcolumn) {
$height = $COLUMN_HEIGHT * ((float)$column[$optionid] / (float)$maxcolumn); $height = $COLUMN_HEIGHT * ((float)$column[$optionid] / (float)$maxcolumn);
} }
echo "<td valign=\"bottom\" align=\"center\" class=\"col$count data\">"; echo "<td style=\"vertical-align:bottom\" align=\"center\" class=\"col$count data\">";
echo "<img src=\"column.png\" height=\"$height\" width=\"49\" alt=\"\" />"; echo "<img src=\"column.png\" height=\"$height\" width=\"49\" alt=\"\" />";
echo "</td>"; echo "</td>";
$count++; $count++;