Baz has asked for the wisdom of the Perl Monks concerning the following question:
The code above prints 1 and 2 on different lines - because it is putting tr aswell as td tags around each of the two numbers. Why is this? - shouldn't it be printing both on the same line.print $query->table( $query->Tr( [ $query->td({width=>"15%"}, "1"), $query->td("2") ] ));
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Tables with Cgi.pm
by Kanji (Parson) on May 11, 2002 at 19:39 UTC | |
by mephit (Scribe) on May 12, 2002 at 04:49 UTC | |
Re: Tables with Cgi.pm
by giulienk (Curate) on May 11, 2002 at 20:42 UTC | |
Re: Tables with Cgi.pm
by kal (Hermit) on May 11, 2002 at 19:35 UTC |