Fixed some width="*" in layout tables

This commit is contained in:
moodler 2006-09-25 14:40:26 +00:00
parent 479eea4149
commit a06c8c2cd1
4 changed files with 8 additions and 8 deletions

View File

@ -97,7 +97,7 @@ if (!empty($SITE->fullname)) {
echo '<td style="width: ' . $preferred_width_left . 'px;" id="left-column">';
blocks_print_group($PAGE, $pageblocks, BLOCK_POS_LEFT);
echo '</td>';
echo '<td id="middle-column" width="*">';
echo '<td id="middle-column">';
} else {
print_header();

View File

@ -48,16 +48,16 @@
$blocks = blocks_setup($PAGE,BLOCKS_PINNED_TRUE);
$blocks_preferred_width = bounded_number(180, blocks_preferred_width($blocks[BLOCK_POS_LEFT]), 210);
echo '<td style="vertical-align: top; width: '.$blocks_preferred_width.'px;" id="left-column">';
echo '<td valign="top" style="width: '.$blocks_preferred_width.'px;" id="left-column">';
blocks_print_group($PAGE, $blocks, BLOCK_POS_LEFT);
} else {
echo '<td style="vertical-align: top;" id="left-column">';
echo '<td valign="top" id="left-column">';
}
echo '</td>';
echo '<td valign="top" width="*" id="middle-column">';
echo '<td valign="top" id="middle-column">';
print_simple_box_start('center');
print_heading($strheading);
echo '<form method="post" action="'.$CFG->wwwroot.'/'.$CFG->admin.'/stickyblocks.php">'
@ -70,10 +70,10 @@
if (!empty($pt)) {
echo '<td style="vertical-align: top; width: '.$blocks_preferred_width.'px;" id="left-column">';
echo '<td valign="top" style="width: '.$blocks_preferred_width.'px;" id="left-column">';
blocks_print_group($PAGE, $blocks, BLOCK_POS_RIGHT);
}
echo '<td style="vertical-align: top;" id="left-column">';
echo '<td valign="top" id="left-column">';
echo '</td>';
echo '</tr></table>';

View File

@ -2386,7 +2386,7 @@ function admin_externalpage_print_header($adminroot) {
echo '<td style="width: ' . $preferred_width_left . 'px;" id="left-column">';
blocks_print_group($PAGE, $pageblocks, BLOCK_POS_LEFT);
echo '</td>';
echo '<td id="middle-column" width="*">';
echo '<td id="middle-column">';
} else {
print_header();
}

View File

@ -50,7 +50,7 @@
echo '</td>';
}
echo '<td valign="top" width="*" id="middle-column">';
echo '<td valign="top" id="middle-column">';
/// The main overview in the middle of the page
$courses = get_my_courses($USER->id);