Fixing layout issues with some HTML messages. Please provide feedback (and examples...
authorpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 19 Mar 2021 08:45:46 +0000 (08:45 +0000)
committerpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 19 Mar 2021 08:45:46 +0000 (08:45 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14905 7612ce4b-ef26-0410-bec9-ea0150e637f0

templates/default/css/default.css
templates/default/read_message_body.tpl

index 587d414035ba55c7cad75dea676df21a4b0cd4c8..fe1c4ba217f54808e018eb1e2ce856d9ba0ec696 100644 (file)
@@ -106,13 +106,20 @@ table.table1    td  {
     padding-right: 2px;
 }
 
-table.table2    {
+table.table2 {
     border: 1px solid #ababab /* __COLOR9__ */;
     width: 80%;
     margin-left: auto;
     margin-right: auto;
 }
 
+table.sm_readBody_table2 {
+    border: 1px solid #ababab /* __COLOR9__ */;
+    width: 100%;
+    margin-left: auto;
+    margin-right: auto;
+}
+
 table.table2    td  {
     padding-left: 2px;
     padding-right: 2px;
@@ -979,7 +986,9 @@ div.readHeaders table.spacer {
 }
 
 div.readBody table {
-    width: 100%;
+    /* Some HTML messages don't work well with this,
+       so we're trying it out without -- need feedback
+       width: 100%; */
 }
 
 div.readBody table.table2 tr {
index 8c86c9948191b3099482f96dee892947b6dd7e65..9324b4ec35f69fa1753aa24ea20b67ae28f83dac 100644 (file)
@@ -23,7 +23,7 @@ extract($t);
 if (!empty($plugin_output['read_body_top'])) echo $plugin_output['read_body_top']; 
 ?>
 <div class="readBody">
-<table cellspacing="0" class="table2">
+<table cellspacing="0" class="sm_readBody_table2">
  <tr>
   <td> 
    <?php echo $message_body; ?>