]> git.mjollnir.org Git - moodle.git/commitdiff
Fixed some width="*" in layout tables
authormoodler <moodler>
Mon, 25 Sep 2006 14:40:26 +0000 (14:40 +0000)
committermoodler <moodler>
Mon, 25 Sep 2006 14:40:26 +0000 (14:40 +0000)
admin/settings.php
admin/stickyblocks.php
lib/adminlib.php
my/index.php

index 0de590336be107159fd32ec91b4748a0b2bd6397..7d715d2be158eb03a5e91034b74c7c8f9ad29eb5 100644 (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();
index 0059353b8ac4b225a05806f6f74161aa619fe4c1..713b35e804318fb53460f371a1f107c64240bcd1 100644 (file)
         $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">'
 
 
     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>';
index 67ee649f7e6a080edbcb7361df63d04b209d4f6c..f27280cf51823193641a3d2c228b2559c681d003 100644 (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();
     }
index 919a0e1abfbe9baeba9e7881f32deb5815021333..8766796ee572c5710009f3d9ef40e3ae69a58f90 100644 (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);