Reputation: 582
I have this code (CodeIgniter):
<tr>
<td width="80">Gender*:</td>
<td>
<?php echo form_dropdown('gender', $gender_select, $gender_val); ?>
</td>
<td>
<?php echo priv('gender',$profile_level['gender'])?>
</td>
</tr>
Is it possible to have an inline
CSS style inside the 'php line' to make its height
or width
be adjusted to any size I want?
Upvotes: 2
Views: 9813
Reputation: 3513
There is a forth argument of the function (assuming Codeigniter) which is a fragment of the tag
<?php echo form_dropdown('gender', $gender_select, $gender_val, 'style="font: 10px"'); ?>
Upvotes: 1