Welcome Guest, Not a member yet? Register   Sign In
Table Class issues
#1

[eluser]shiggins[/eluser]
Does anyone understand why when using the table class, style attributes only apply to the first row?

Code:
$tmpl = array ( 'table_open'  => '<table border="0" width="100%" cellpadding="2" cellspacing="0" align="left">',  
                'heading_row_start'   => '<tr>',
                'heading_row_end'     => '</tr>',
                'heading_cell_start'  => '<th class="tblhead">',
                'heading_cell_end'    => '</th>',
                'row_start'              => '<tr>',
                'row_end'              => '</tr>',
                'cell_start'          => '<td class="tblcell">',
                'cell_end'              => '</td>'                            
               );

When looping through a set of records the style class 'tblcell' is only applied to the first set of records.

Thanks in advance!


Messages In This Thread
Table Class issues - by El Forum - 01-06-2008, 08:33 AM
Table Class issues - by El Forum - 01-06-2008, 10:14 AM
Table Class issues - by El Forum - 01-06-2008, 11:54 AM
Table Class issues - by El Forum - 01-06-2008, 02:09 PM



Theme © iAndrew 2016 - Forum software by © MyBB