From 16ac94678e0c29f6aaea0bbf32598660346b86dc Mon Sep 17 00:00:00 2001 From: Fabien Morin <fabien@nexedi.com> Date: Mon, 17 Mar 2008 20:29:25 +0000 Subject: [PATCH] correct the not XHTML valid parts : - some close markups wich were never opened - a br markup wich was not closed - a width attribute on the td markup wich not exist (I replace it using new a css selector in erp5.css) git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19976 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5Form/MatrixBox.py | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/product/ERP5Form/MatrixBox.py b/product/ERP5Form/MatrixBox.py index f0cac5a86e..5fef886c30 100644 --- a/product/ERP5Form/MatrixBox.py +++ b/product/ERP5Form/MatrixBox.py @@ -236,7 +236,7 @@ class MatrixBoxWidget(Widget.Widget): first_tab = tab[1] or '' header = """\ <!-- Matrix Content --> - %s<br> + %s<br/> <div class="MatrixContent"> <table cellpadding="0" cellspacing="0" border="0"> """ % first_tab @@ -244,13 +244,9 @@ class MatrixBoxWidget(Widget.Widget): # Create the footer. This should be replaced by DTML # And work as some kind of parameter footer = """\ - </div> - </td> - </div> - </tr> <tr> - <td colspan="%s" width="100" align="center" valign="middle" - class="Data"> + <td colspan="%s" align="center" valign="middle" + class="Data footer"> </td> </tr> </table> -- 2.30.9