Hi!


My offer in TODO for Embperl:

Now exist useful structure ($row,$col):
<table>
    <tr>
        <td>[+ $a[$row][$col] +] </td>
    </tr> 
</table>

but often it is requested have attrib for cell with period
 (Ex: cell color as chess).

Is will be very useful if make parcel this structure:
[-
$a[0][0] = '1/1' ;
$a[1][0] = '2/1' ;
$a[1][1] = '2/2' ;
$a[2][0] = '3/1' ;
$a[2][1] = '3/2' ;
$a[2][2] = '3/3' ;
-]

<table>
    <tr>
        <TD BGCOLOR="#F4A460">[+ $a[$row][$col] +] </td>
        <TD BGCOLOR="#FFFF00">[+ $a[$row][$col] +] </td>
    </tr> 
    <tr>
        <TD BGCOLOR="#A4A4B4">[+ $a[$row][$col] +] </td>
        <TD BGCOLOR="#7CFC00">[+ $a[$row][$col] +] </td>
    </tr> 
</table>

as (without duplication row and column):

<table>
    <tr>
        <TD BGCOLOR="#F4A460">1/1 </td>
    </tr> 
    <tr>
        <TD BGCOLOR="#32CC99">2/1 </td>
        <TD BGCOLOR="#7CFC00">2/2 </td>
    </tr> 

    <tr>
        <TD BGCOLOR="#F4A460">3/1 </td>
    
        <TD BGCOLOR="#FFFF00">3/2 </td>
    
        <TD BGCOLOR="#F4A460">3/3 </td>
    </tr> 
</table>

It's real idea?

Second question: many Web editor programs insert in HTML-doc 
only one tag <tr> or <td> - without </tr> or </td>, as this write in
http://www.w3.org/TR/REC-html40/struct/tables.html#edef-TR
But Embperl return error!!! This is real necessary? May be interpret new 
<tr> or <td>, as </tr>+<tr> or </td>+<td>?

-- 

                      С наилучшими пожеланиями, Евгений Бырганов.
                      Best regards, Eugene Byrganov

  mailto:[EMAIL PROTECTED].
  work - http://www.inp.nsk.su/

Reply via email to