jasmine825 jasmine825 - 6 months ago 28
HTML Question

How can I increase the width of a column in a table?

The input of "file name" is a long variable, I tried changing the width for the

and the
but nothing seemed to work. Then I decided to put the
whitespace: nowrap;
however when I did that it clashed with my other columns and the writing for filename just went over them. How can I fix this?

<table class="responstable" rules='all' style='border-collapse: collapse;'>
<th>Client id</th>
<th>File Name</th>
<th>Payer ID</th>
while($row = pg_fetch_array($result))


<tr <?=$row['flag'] ? "style='background-color: #fcf8e3'" : '';?>>

<td><?php echo $row['voucher_id']; ?></td>
<td><?php echo $row['client_id']; ?></td>
<td style="white-space: nowrap"><?php echo $row['file_name']; ?></td>
<td><?php echo $row['payer_id']; ?></td>
<td><?php echo $row['patient_f_name']; ?></td>
<td><?php echo $row['patient_l_name']; ?></td>
<td><?php echo $row['cpt_code'];?></td>
<td><?php echo $row['insurance'];?></td>
<td><?php echo $row['patient_id'] ?></td>
<td><?php echo $row['acc_number'] ?></td>


Put this in your css style.