From: moodler Date: Thu, 13 Jan 2005 07:55:24 +0000 (+0000) Subject: Removed valign attribute from tag for XHTML compatibility X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=5aeaeb575f72fe17ed2b4d24ad396f1ac292d9f1;p=moodle.git Removed valign attribute from
tag for XHTML compatibility --- diff --git a/lib/weblib.php b/lib/weblib.php index 0eaf75361d..963c785590 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -2413,11 +2413,11 @@ function make_table($table) { $fontsize = ''; } - $output = '
width .'" align="'. $table->tablealign .'" '; $output .= ' cellpadding="'. $table->cellpadding .'" cellspacing="'. $table->cellspacing .'" class="'. $table->class .'">'."\n"; if (!empty($table->head)) { - $output .= ''; + $output .= ''; foreach ($table->head as $key => $heading) { if (!isset($size[$key])) { $size[$key] = '';