XHTML Strict fixes MDL-7861

This commit is contained in:
moodler 2007-01-04 15:52:11 +00:00
parent eb2963824b
commit bd792a758f
5 changed files with 10 additions and 10 deletions

View File

@ -65,7 +65,7 @@ echo '<table id="layout-table" cellspacing="0"><tr>';
/// The left column ...
if (blocks_have_content($pageblocks, BLOCK_POS_LEFT) || $editing) {
echo '<td width="'.$preferred_width_left.'" id="left-column">';
echo '<td style="width:'.$preferred_width_left.'px" id="left-column">';
blocks_print_group($PAGE, $pageblocks, BLOCK_POS_LEFT);
echo '</td>';
}
@ -331,7 +331,7 @@ echo '</td>';
// The right column
if (blocks_have_content($pageblocks, BLOCK_POS_RIGHT) || $editing) {
echo '<td width="'.$preferred_width_right.'" id="right-column">';
echo '<td style="width:'.$preferred_width_right.'px" id="right-column">';
blocks_print_group($PAGE, $pageblocks, BLOCK_POS_RIGHT);
echo '</td>';
}

View File

@ -25,7 +25,7 @@
echo '<tr>';
if (blocks_have_content($pageblocks, BLOCK_POS_LEFT) || $editing) {
echo '<td width="'.$preferred_width_left.'" id="left-column">';
echo '<td style="width:'.$preferred_width_left.'px" id="left-column">';
blocks_print_group($PAGE, $pageblocks, BLOCK_POS_LEFT);
echo '</td>';
}
@ -41,7 +41,7 @@
// The right column
if (blocks_have_content($pageblocks, BLOCK_POS_RIGHT) || $editing) {
echo '<td width="'.$preferred_width_right.'" id="right-column">';
echo '<td style="width:'.$preferred_width_right.'px" id="right-column">';
blocks_print_group($PAGE, $pageblocks, BLOCK_POS_RIGHT);
echo '</td>';
}

View File

@ -23,7 +23,7 @@
echo '<tr>';
if (blocks_have_content($pageblocks, BLOCK_POS_LEFT) || $editing) {
echo '<td width="'.$preferred_width_left.'" id="left-column">';
echo '<td style="width:'.$preferred_width_left.'px" id="left-column">';
blocks_print_group($PAGE, $pageblocks, BLOCK_POS_LEFT);
echo '</td>';
}
@ -51,7 +51,7 @@
// The right column
if (blocks_have_content($pageblocks, BLOCK_POS_RIGHT) || $editing) {
echo '<td width="'.$preferred_width_right.'" id="right-column">';
echo '<td style="width:'.$preferred_width_right.'px" id="right-column">';
blocks_print_group($PAGE, $pageblocks, BLOCK_POS_RIGHT);
echo '</td>';
}

View File

@ -70,7 +70,7 @@
/// The left column ...
if (blocks_have_content($pageblocks, BLOCK_POS_LEFT) || $editing) {
echo '<td width="'.$preferred_width_left.'" id="left-column">';
echo '<td style="width:'.$preferred_width_left.'px" id="left-column">';
blocks_print_group($PAGE, $pageblocks, BLOCK_POS_LEFT);
echo '</td>';
}
@ -263,7 +263,7 @@
// The right column
if (blocks_have_content($pageblocks, BLOCK_POS_RIGHT) || $editing) {
echo '<td width="'.$preferred_width_right.'" id="right-column">';
echo '<td style="width:'.$preferred_width_right.'px" id="right-column">';
blocks_print_group($PAGE, $pageblocks, BLOCK_POS_RIGHT);
echo '</td>';
}

View File

@ -56,7 +56,7 @@
/// The left column ...
if (blocks_have_content($pageblocks, BLOCK_POS_LEFT) || $editing) {
echo '<td width="'.$preferred_width_left.'" id="left-column">';
echo '<td style="width:'.$preferred_width_left.'px" id="left-column">';
blocks_print_group($PAGE, $pageblocks, BLOCK_POS_LEFT);
echo '</td>';
}
@ -260,7 +260,7 @@
// The right column
if (blocks_have_content($pageblocks, BLOCK_POS_RIGHT) || $editing) {
echo '<td width="'.$preferred_width_right.'" id="right-column">';
echo '<td style="width: '.$preferred_width_right.'px;" id="right-column">';
blocks_print_group($PAGE, $pageblocks, BLOCK_POS_RIGHT);
echo '</td>';
}