[LON-CAPA-cvs] cvs: loncom /homework edit.pm

albertel lon-capa-cvs@mail.lon-capa.org
Fri, 08 Nov 2002 14:38:47 -0000


albertel		Fri Nov  8 09:38:47 2002 EDT

  Modified files:              
    /loncom/homework	edit.pm 
  Log:
  - compromise position on table width, now using <div> rather than <p>
  
  
Index: loncom/homework/edit.pm
diff -u loncom/homework/edit.pm:1.39 loncom/homework/edit.pm:1.40
--- loncom/homework/edit.pm:1.39	Thu Nov  7 14:45:16 2002
+++ loncom/homework/edit.pm	Fri Nov  8 09:38:47 2002
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA 
 # edit mode helpers
 #
-# $Id: edit.pm,v 1.39 2002/11/07 19:45:16 albertel Exp $
+# $Id: edit.pm,v 1.40 2002/11/08 14:38:47 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -99,14 +99,14 @@
   }
   $Apache::edit::colordepth++;
   push(@Apache::edit::inserttag,$token->[1]);
-  my $result='<p align="right">';
-  $result.='<table bgcolor="'.$color.'" width="99%" border="2">';
+  my $result='<div align="right">';
+  $result.='<table bgcolor="'.$color.'" width="97%" border="2">';
   return $result;
 }
 
 sub end_table {
   $Apache::edit::colordepth--;
-  my $result='</table></p>';
+  my $result='</table></div>';
   $result.="<table><tr><td>";
 
   my ($tagname,$closingtag);