From 5e3240725862aed415ff6c4a4191754a2bec9f45 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mart=C3=ADn=20Marrese?= Date: Wed, 4 Jun 2003 19:44:32 +0000 Subject: [PATCH] - Subo el ejemplo nuevo --- HTML/test/prueba_tabla.php | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/HTML/test/prueba_tabla.php b/HTML/test/prueba_tabla.php index ed58ad4..737130b 100644 --- a/HTML/test/prueba_tabla.php +++ b/HTML/test/prueba_tabla.php @@ -54,7 +54,7 @@ echo 'PRECATED
'; $TABLA2 = new Tabla ('width="500" align="right"'); $row = array ('R0C0','R1C1','R1C2','R2C3','R2C4','R2C5','R2C6','R2C7','R2C8','R2C9'); - $TABLA2->addRow($row,'cabecera'); + $TABLA2->addRow($row,'cabecera colspan=10'); $row = array ('R1C0','R1C1','R1C2','R2C3','R2C4','R2C5','R2C6','R2C7','R2C8','R2C9'); $TABLA2->addRow($row); $row = array ('R2C0','R2C1','R2C2','R2C3','R2C4','R2C5','R2C6','R2C7','R2C8','R2C9'); @@ -62,17 +62,16 @@ $row = array ('R3C0','R3C1','R3C2','R3C3','R3C4','R3C5','R3C6','R3C7','R3C8','R3C9'); $TABLA2->addRow($row); -$tmp = array ('colspan'=>2,'comun'=>true); +$tmp = array ('colspan'=>2); - $TABLA2->updateCellAttributes(0, 0,'colspan=10'); $TABLA2->updateCellAttributes(1, 0,'rowspan=3'); $TABLA2->updateCellAttributes(1, 1,'rowspan=3'); $TABLA2->updateCellAttributes(1, 2,'colspan=8'); - $TABLA2->updateCellAttributes(2, 2,'colspan=2 titulo'); - $TABLA2->updateCellAttributes(2, 4,'colspan=2 cabecera'); + $TABLA2->updateCellAttributes(2, 2,'colspan=2'); + $TABLA2->updateCellAttributes(2, 4,'colspan=2'); $TABLA2->updateCellAttributes(2, 6,$tmp); - $TABLA2->updateCellAttributes(2, 8,'colspan=2 cabecera'); - $TABLA2->updateColAttributes(9,'titulo'); + $TABLA2->updateCellAttributes(2, 8,'colspan=2'); + $TABLA2->updateColAttributes(2,'titulo'); $tohtml = $TABLA2->toHtml(); -- 2.43.0