diff --git a/include/staff/templates/dynamic-form.tmpl.php b/include/staff/templates/dynamic-form.tmpl.php index f77fa928a74148164d24a6af8eb3527aa6593682..a05b0c70bce8bfba5ede01e00718f1cf3f580ad8 100644 --- a/include/staff/templates/dynamic-form.tmpl.php +++ b/include/staff/templates/dynamic-form.tmpl.php @@ -1,3 +1,4 @@ +<tr><td style="width:150px"></td><td></td></tr> <?php if ($form->getTitle()) { ?> <tr><th colspan="2"> <em><strong><?php echo Format::htmlchars($form->getTitle()); ?></strong>: diff --git a/include/staff/templates/user-lookup.tmpl.php b/include/staff/templates/user-lookup.tmpl.php index 7b0a9380be601973b3ef320629c86142b737df7e..2eda5c1431f027dedde61c83dc1f12a78d95c813 100644 --- a/include/staff/templates/user-lookup.tmpl.php +++ b/include/staff/templates/user-lookup.tmpl.php @@ -47,7 +47,7 @@ if ($info['error']) { </div> <div id="new-user-form" style="display:<?php echo $user ? 'none' :'block'; ?>;"> <form method="post" class="user" action="#users/lookup/form"> - <table width="100%"> + <table width="100%" class="fixed"> <?php if(!$form) $form = UserForm::getInstance(); $form->render(true, 'Create New User'); ?> diff --git a/scp/css/scp.css b/scp/css/scp.css index d3eaceb6637dec2e8e7071a371c6c74635cee883..64670cecb6b52e0721fac8f03125c023a074c022 100644 --- a/scp/css/scp.css +++ b/scp/css/scp.css @@ -546,15 +546,15 @@ a.print { border-bottom:1px solid #ddd; } -.form_table.fixed { +table.fixed { table-layout: fixed; border-collapse: collapse; width: 100%; } -.form_table.fixed td { +table.fixed td { width: 180px; } -.form_table.fixed td + td { +table.fixed td + td { width: auto; }