in reply to Re^2: using 'use CGI;' and tables
in thread using 'use CGI;' and tables

OK,I got it to display the table, but how do I set the table attributes like width, etc...? Also, it's only displaying the data that was entered in the form. It's currently displaying all the info from the database. What do I need to modify to display all the info from the database?

Replies are listed 'Best First'.
Re^4: using 'use CGI;' and tables
by ikegami (Patriarch) on Apr 13, 2006 at 05:35 UTC

    Add the following to your HTML's HEAD element:

    <style type="text/css"> .user_table { border-collapse: collapse; border: solid 1px; padding: 0; } .user_row { border: solid 1px; } .user_firstname_cell, .user_lastname_cell, .user_state_cell, .user_country_cell { border: solid 1px; padding: 0; width: 140; text-align: center; } </style>

    Reference

    Updated