Removing hardcoded style widths and replaced with table widths, which improves page build appearance

This commit is contained in:
moodler
2006-06-11 06:42:42 +00:00
parent 00b8db5f4f
commit 4339f32452
+2 -2
View File
@@ -64,7 +64,7 @@
/// The left column ...
if (blocks_have_content($pageblocks, BLOCK_POS_LEFT) || $editing) {
echo '<td style="width: '.$preferred_width_left.'px;" id="left-column">';
echo '<td width="'.$preferred_width_left.'" id="left-column">';
blocks_print_group($PAGE, $pageblocks, BLOCK_POS_LEFT);
echo '</td>';
}
@@ -257,7 +257,7 @@
// The right column
if (blocks_have_content($pageblocks, BLOCK_POS_RIGHT) || $editing) {
echo '<td style="width: '.$preferred_width_right.'px;" id="right-column">';
echo '<td width="'.$preferred_width_right.'" id="right-column">';
blocks_print_group($PAGE, $pageblocks, BLOCK_POS_RIGHT);
echo '</td>';
}