Re: HTML/Table - colspan problem
| From: | Alain Williams | Date: | Mon, 17 Nov 2003 11:39:45 +0000 |
| Subject: | Re: HTML/Table - colspan problem | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-8988@lists.php.net to get a copy of this message | ||
On Sun, Nov 16, 2003 at 07:02:45PM +0100, Bertrand Mansion wrote:
> <addw@phcomp.co.uk> wrote :
>
> > On Fri, Nov 14, 2003 at 02:43:23PM +0100, Klaus Guenther wrote:
> >> Alain Williams wrote:
> >>> Hi,
> >>>
> >>> I want to have a table where the first row of header spans all rows (ie as
> >> a 'title').
> >>>
> >>> My code is:
> >>> $table = new HTML_Table('border=1 align=center
> >> caption="Existing Promotions"');
> >>> $table->addRow(array('Existing Promotions'),
> >>> "colspan=7",
> >> "TH");
> >>
> >> try:
> >> ....
> You probably have setCellAttributes or something like that in your code
> where it should be updateCellAttributes. Set will overwrite all you
> attributes.
Yes, something like that. I set the column attributes which overwrote the attributes
for the header column 0 - which was the one that spanned.
So apologies to all - my own stupidity.
--
Alain Williams
#include <std_disclaimer.h>
FATHERS-4-JUSTICE - Campaigning for equal rights for parents and the
best interests of our children. See http://www.fathers-4-justice.org