From 9be47e190f520de3ddfcef4aa1905feea6aea92c Mon Sep 17 00:00:00 2001 From: teepe Date: Sun, 14 Jul 2002 15:24:30 +0000 Subject: [PATCH] small html errors. The page now passes the html validator at w3.org git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3096 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/read_body.php | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/src/read_body.php b/src/read_body.php index 163a6d10..15f95ccd 100644 --- a/src/read_body.php +++ b/src/read_body.php @@ -973,10 +973,9 @@ if ($default_use_mdn) { //$envtable->echoHtml($use_css); $rb_tools_table = new html('table','','','rb_tools','',$ar_table); -$row = new html('tr','','','rb_rt','',array('width'=> '100%', - 'valign'=> 'top', - 'align'=> 'right', - 'nowrap')); +$row = new html('tr','','','rb_rt','',array('valign'=> 'top', + 'align'=> 'right')); + /* view header */ $viewheader_url = $base_uri . 'src/read_body.php?mailbox=' . $urlMailbox . '&passed_id='. $passed_id. '&'; @@ -990,7 +989,7 @@ if ($where && $what) { $link = new html('a',_("View Full Header") .' | ','','','',array ( 'href' => $viewheader_url)); -$col = new html('td','',array('small'=>true),'rb_ht','rb_vht'); +$col = new html('td','',array('small'=>true),'rb_ht','rb_vht',array('nowrap')); $col->htmlAdd($link); /* Output the printer friendly link if we are in subtle mode. */ @@ -1017,13 +1016,13 @@ if ($use_css) { $rb_message_table = new html('table','','','rb_body','',$ar_table); $row_body = new html('tr','','','rb_bd','rb_bdr'); -$col_body = new html('td',$messagebody,array('br'=>false),'rb_bd','rb_bdr',$ar_row); +$col_body = new html('td',$messagebody,array('br'=>false),'rb_bd','',$ar_row); $row_body->htmlAdd($col_body); $rb_message_table->htmlAdd($row_body); -$row_body = new html('tr','','','rb_bd','rb_bdr'); +$row_body = new html('tr','','','rb_bd',''); $attachements = formatAttachments($message,$ent_ar,$mailbox, $passed_id); -$col_body = new html('td',$attachements,array('br'=>false),'rb_bd','rb_bdr',$ar_row); +$col_body = new html('td',$attachements,array('br'=>false),'rb_bd','',$ar_row); $row_body->htmlAdd($col_body); $rb_message_table->htmlAdd($row_body); -- 2.25.1