Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

tep_draw_input_field Height


Guest

Recommended Posts

Posted

How do you change the height of the input fields? I can change the length by doing tep_draw_input_field('firstname' , '', 'size="30"') but can't figure out how to alter the height of the box. Any ideas?

Posted

Add a class or id to your input field and then set the height in your CSS file. You may want to set the width there rather than using the size parameter -- depends on why you are using size. If you want to limit the characters submitted, you are doing it correctly. If you want to change the display width, you should do it in CSS.

Always back up before making changes.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...