any easy way to print a few tables in the same rows?

R

robertchen117

all my tables maybe just two columns, I used this:

my $cgi = new CGI;

print $cgi->th("OS Type");
print $cgi->th("Version");

....
A lot of tables printed like the same way above.

Using the CGI default th, td methods will output tables just all way
through down the page...

any easy way to print a few tables in the same rows?
 
I

Ian Wilson

all my tables maybe just two columns, I used this:

my $cgi = new CGI;

print $cgi->th("OS Type");
print $cgi->th("Version");

...
A lot of tables printed like the same way above.

Using the CGI default th, td methods will output tables just all way
through down the page...

any easy way to print a few tables in the same rows?

This is really an HTML question not a Perl question.

I'd use float:left in the CSS and maybe enclose them in div tags if
necessary.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,444
Messages
2,571,709
Members
48,796
Latest member
Greg L.
Top