Index: /issm/trunk/cron/report.sh
===================================================================
--- /issm/trunk/cron/report.sh	(revision 1073)
+++ /issm/trunk/cron/report.sh	(revision 1074)
@@ -30,6 +30,18 @@
 <style type="text/css">
 	<!--
+	.issmbody {
+		margin: auto;
+		width:800px;
+		background: none;
+		color: #404040;
+		font-family: Arial, Verdana, Tahoma;
+		font-size: 14px;
+		font-weight: normal;
+		text-align: left;
+		}
+
 	.issmh1 {
-		margin-top:1em;
+		margin:2em auto;
+		width:800px;
 		background: none;
 		color: #6495ed;
@@ -41,5 +53,5 @@
 
 	.issmh2 {
-		margin-top:1.5em;
+		margin:1.5em auto 1em auto;
 		width:800px;
 		background: transparent;
@@ -51,8 +63,18 @@
 		}
 
-	.issmcomment
-		{white-space:pre-wrap;
-		word-wrap:break-word;
+	.issmfooter {
+		margin:auto;
+		width:800px;
+		background: none;
+		color: #404040;
+		font-family: Arial, Verdana, Tahoma;
+		font-size: 12px;
+		font-weight: normal;
+		text-align: center;
+		}
+
+	.issmcomment {
 		padding:4px;
+		margin:0 auto;
 		width:800px;
 		border:1px dashed #000000;
@@ -64,13 +86,11 @@
 	-->
 </style>
-<div align="center" style=" font-family:Arial,Verdana,Tahoma; font-size: 14px; color: #404040;">
+<div class="issmh1">ISSM Nightly run report</div>
 <br>
-<pre class="issmh1">ISSM Nightly run report</pre>
+<div class="issmcomment">
+host: $host_name<br>
+date: $today<br>
+release: $ISSM_RELEASE<br>
 <br>
-<pre class="issmcomment">
-host: $host_name
-date: $today
-release: $ISSM_RELEASE
-
 status: $(if [ `wc -l check.log | awk '{printf("%s",$1);}'`  = "0" ];
 then
@@ -80,6 +100,7 @@
 fi
 rm check.log) 
-number of errors: $(wc -l errors.log | awk '{printf("%s",$1);}')/$(wc -l tests.log | awk '{printf("%s",$1);}';  rm errors.log)
-number of success: $(wc -l success.log | awk '{printf("%s",$1);}')/$(wc -l tests.log | awk '{printf("%s",$1);}';rm success.log tests.log)</pre>
+<br>
+number of errors: $(wc -l errors.log | awk '{printf("%s",$1);}')/$(wc -l tests.log | awk '{printf("%s",$1);}';  rm errors.log)<br>
+number of success: $(wc -l success.log | awk '{printf("%s",$1);}')/$(wc -l tests.log | awk '{printf("%s",$1);}';rm success.log tests.log)</div>
 <br>
 <hr width="900px">
@@ -89,19 +110,25 @@
 	#enter title
 	if [ $package == "macayeal" ]; then
-		echo "<pre class=\"issmh2\">MacAyeal package</pre>"
+		echo "<div class=\"issmh2\">MacAyeal package</div>"
 	fi
 	if [ $package == "ice" ]; then
-		echo "<pre class=\"issmh2\">Ice package</pre>"
+		echo "<div class=\"issmh2\">Ice package</div>"
 	fi
 	if [ $package == "cielo_serial" ]; then
-		echo "<pre class=\"issmh2\">Cielo Serial package</pre>"
+		echo "<div class=\"issmh2\">Cielo Serial package</div>"
 	fi
 	if [ $package == "cielo_parallel" ]; then
-		echo "<pre class=\"issmh2\">Cielo Parallel package</pre>"
+		echo "<div class=\"issmh2\">Cielo Parallel package</div>"
 	fi
 
-	#check that at least one test exists
+	#Print division
+	echo "<div class=\"issmbody\">"
+
+	#check that at least one Test exists
 	if [ `wc -l $package.log | awk '{printf("%s",$1);}'`  = "0" ]; then
-		echo "&nbsp;&nbsp No test found."
+
+		#No Test: use a table to fix entourage bug.
+		echo "<table width=\"200px\" style=\"color:#FF0000; font-size:14px;\"><tr><td align=\"center\">No test found.</td></tr></table>"
+
 	else
 
@@ -129,12 +156,15 @@
 		echo "</table>"
 	fi
+
+	#Print end division and remove log file
+	echo "</div>"
 	rm $package.log
+
 done)
 
-	<br>
-	<br>
-	<center><small></a><a href="http://issm.jpl.nasa.gov" title="ISSM website" target="_blank">ISSM</a> nightly run report</small></center>
-	</div>
-	</body>
-	</html>
+<br>
+<br>
+<div class="issmfooter"><a href="http://issm.jpl.nasa.gov" title="ISSM website" target="_blank">ISSM</a> nightly run report</div>
+</body>
+</html>
 END
