Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

input fields


veni

Recommended Posts

On the login.php page, I would like to resize the width of both the EMAIL field and the PASSSWORD field

these are the code for both:

 

<?php echo tep_draw_input_field('email_address'); ?>

 

 

AND

 

<?php echo tep_draw_password_field('password'); ?>

Link to comment
Share on other sites

You can do as you want with input fields - below is an example:

 

tep_draw_input_field('my_input', 'default text, ' onfocus="this.value=\'\'" size="10" maxlength="30"  style="width: 165px"')

 

the width is of course set by style in the third parameter (the second below is empty):

 

 

<?php echo tep_draw_password_field('password', '', 'style="width: 165px"'); ?>

 

 

 

Sonia

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...