Re: attributes for pear table setcellattributes

From: Date: Thu, 11 Feb 2010 11:39:17 +0000
Subject: Re: attributes for pear table setcellattributes
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-30282@lists.php.net to get a copy of this message
Hi, > I am trying to set the padding on the <td> for an html_table. > This line of code does not work. > > $table->setCellAttributes($rownum,1,"padding-left=10"); > > What should it be ? $table->setCellAttributes($rownum, 1, 'style="padding-left: 10px"'); Regards, Mark

« previous php.pear.general (#30282) next »