uzuria Posted May 31, 2007 Share Posted May 31, 2007 The enquiry box on my contact page is too big!!! Looking at the code I thought it would be a simple case of changing the width dimension, but it males no difference. When i change the height it does! This is the section of code <td class="main"><?php echo ENTRY_ENQUIRY; ?></td> </tr> <tr> <td><?php echo tep_draw_textarea_field('enquiry', 'soft', 50, 15); ?></td> whatever I change the 50 too, the box remains the same size. Please Help!!!! Link to comment Share on other sites More sharing options...
Guest Posted June 1, 2007 Share Posted June 1, 2007 when you say the width dimension you mean the horizontal space allocation of the box to be fixed? Because that's not what the parameter to change in that case. The col parameter for the function defines the number of characters but it can scroll you see? So to change the width use the style via the parameters argument <td><?php echo tep_draw_textarea_field('enquiry', 'soft', '50', '15', 'Enter your enquiry here', 'style="width: 100%"'); ?></td> Link to comment Share on other sites More sharing options...
uzuria Posted June 1, 2007 Author Share Posted June 1, 2007 Thank you!!!! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.