Re: Table.php questions
| From: | Adam Daniel | Date: | Tue, 20 Nov 2001 19:02:27 +0000 |
| Subject: | Re: Table.php questions | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-515@lists.php.net to get a copy of this message | ||
> Is there any way with this class to set _all_ td or tr attributes to some
> value? For instance, I might want the content of all cells in the table
> centered - how could I do this without working out how many columns I
have,
> and then setting the attributes on a per column basis?
I just added methods setAllAttributes and updateAllAttributes
> Likewise, can I modify the table tag properties after invoking the class?
The actual table tag attributes can be modified by calling setAttributes or
updateAttributes. These methods are inherited from HTML_Common
> Finally, any chance of XHTML complient output (lowercase tag names, all
> attributes quoted
I also just made all the tags lowercase. The attributes should all be
quoted already.
Thanks,
Adam Daniel
mailto:adaniel1@eesus.jnj.com