osc_user50 Posted May 3, 2011 Share Posted May 3, 2011 Hi to all, I would like to increase the width of the comment box in the checkout confirmation page. How can do this? say in full lenght, like the address and other information. For now its showing to the right and its only about an inch wide. thank you in advance. Link to comment Share on other sites More sharing options...
Guest Posted May 3, 2011 Share Posted May 3, 2011 mark, A default installation, the comment box is 90 x 10 and is proportionate to the main text area so there shouldn't be a reason to make it wider unless you have removed one of the columns. Chris Link to comment Share on other sites More sharing options...
osc_user50 Posted May 3, 2011 Author Share Posted May 3, 2011 mark, A default installation, the comment box is 90 x 10 and is proportionate to the main text area so there shouldn't be a reason to make it wider unless you have removed one of the columns. Chris Hi Chris, I downloaded this oscommerce template, provided by templatemonster, this is the default install of the version I downloaded. here the code, in checkout_confirmation.php <?php echo tep_draw_infoBox_top();?> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td><?php echo nl2br(tep_output_string_protected($order->info['comments'])) . tep_draw_hidden_field('comments', $order->info['comments']); ?></td> </tr> </table> <?php echo tep_draw_infoBox_bottom();?> i notice that this is different in checkout shipping. In checkout shipping, the comment box have a wide text area ( so this should be the default). heres the code also for the checkout shipping. <?php echo tep_draw_infoBox_top();?> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr><td><?php echo tep_draw_textarea_field('comments', 'soft', '60', '5'); ?></td></tr> </table> <?php echo tep_draw_infoBox_bottom();?> I am new to php and html, so I am not sure which of the first code affect the width of the input box. Not sure if the width is defined by "tep_draw_infoBox_top" or "tep_draw_textarea_field". or there was a missing code on this part. Please advise if you need some code reference, thank you. Link to comment Share on other sites More sharing options...
osc_user50 Posted May 3, 2011 Author Share Posted May 3, 2011 As an update, even if I commented the whole comment box code in checkout confirmation, still its displaying the small text box area. So I think, this was drawn by another process. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.