PHP Classes

style in Cells

Recommend this page to a friend!

      Class.Table  >  All threads  >  style in Cells  >  (Un) Subscribe thread alerts  
Subject:style in Cells
Summary:Problems with style attribute
Messages:1
Author:micmeyer
Date:2011-01-12 11:57:06
 

  1. style in Cells   Reply   Report abuse  
Picture of micmeyer micmeyer - 2011-01-12 11:57:09
Hi Jason,
thanks for this great class. I have some trouble using the style attribute to format cells via css code. If I try to use

$table->SetDefaultCellAttributes( array( "style" => "\"font-size:6px;\"")

the class puts out:
<td font-size:6px;="" style="" size="6" font=""> </td>


I also tried setDefaultStyle but could not figure it out.

I am happy with any comment

Thanks in advance
Mike