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

Discussion in 'Perl Misc' started by robertchen117@gmail.com, Mar 22, 2007.

  1. Guest

    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?
     
    , Mar 22, 2007
    #1
    1. Advertisements

  2. Ian Wilson Guest

    wrote:
    > 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.
     
    Ian Wilson, Mar 22, 2007
    #2
    1. Advertisements

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?UGF1bA==?=

    any easy way to do this?-put items in table

    =?Utf-8?B?UGF1bA==?=, Jun 2, 2005, in forum: ASP .Net
    Replies:
    3
    Views:
    457
  2. Kaidi
    Replies:
    2
    Views:
    3,940
    Ferenc Hechler
    Nov 26, 2004
  3. derrick
    Replies:
    5
    Views:
    645
    Webcastmaker
    Jul 4, 2004
  4. Murali
    Replies:
    2
    Views:
    792
    Jerry Coffin
    Mar 9, 2006
  5. keto
    Replies:
    0
    Views:
    1,379
  6. David Cournapeau

    print a vs print '%s' % a vs print '%f' a

    David Cournapeau, Dec 30, 2008, in forum: Python
    Replies:
    0
    Views:
    646
    David Cournapeau
    Dec 30, 2008
  7. TheSaint
    Replies:
    9
    Views:
    921
    TheSaint
    Jun 7, 2011
  8. Replies:
    5
    Views:
    340
    James Edward Gray II
    Jul 17, 2007
Loading...