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") ] ));
In reply to Tables with Cgi.pm by Baz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |