Guest Posted March 16, 2006 Posted March 16, 2006 I would like to know how to change the enquiry box size. If any one can help me , see here http://www.sethhaehl.com/store/contact_us.php Thanks Very Much! Seth
Guest Posted March 16, 2006 Posted March 16, 2006 go into your catalog\contact_us.php file locate this line of code <td><?php echo tep_draw_textarea_field('enquiry', 'soft', 50, 15); ?></td> change the 50,15 parameters. The first is the number of cols the 2nd is number of rows.
Guest Posted March 17, 2006 Posted March 17, 2006 thats exactly what i thought, i was just changing the wrong one, i was changing the rows not the columns. duh me
Guest Posted March 17, 2006 Posted March 17, 2006 actually i can get the rows to decrease but not the columns... can you explain to me why that is? check out my code and you will see what i mean, http://www.sethhaehl.com/store/contact_us.php Thanks! Seth
Guest Posted March 17, 2006 Posted March 17, 2006 The 6th argument of the tep_draw_textarea_field function accepts the parameters for the html input tag. So either you pass a style width there or a css class name for this purpose. Since currenly it only has 4 parameters make the 5th one a null string. <td><?php echo tep_draw_textarea_field('enquiry', 'soft', 50, 15,'', 'parameters_or_css_class_to_pass_here'); ?></td>
Guest Posted March 17, 2006 Posted March 17, 2006 Would it be much trouble for you to write that out for me i need it to be like 20 cols wide or so, I don't understand how to do that... I am really sorry for this! Thanks! Seth
Guest Posted March 19, 2006 Posted March 19, 2006 Well thanks anyways, anyone else help? Thanks, Seth C.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.