Guest Posted January 29, 2003 Posted January 29, 2003 How can i add a css class for the ' input type="text" ' fields in this files: catalog/login.php catalog/create_account.php catalog/contact_us.php catalog/advanced_search.php catalog/checkout_payment.php I can't find there the ' input type="text" ' code only this code <?php echo tep_draw_input_field('email_address'); ?> But i need to add a class there like this ' input type="text" class="colored" ' thanks.
Christian Lescuyer Posted January 30, 2003 Posted January 30, 2003 I can't find there the ' input type="text" ' code only this code<?php echo tep_draw_input_field('email_address'); ?> But i need to add a class there like this ' input type="text" class="colored"' <?php echo tep_draw_input_field('email_address', 'class="colored"'); ?> Christian Lescuyer
Guest Posted January 31, 2003 Posted January 31, 2003 Thanks very much for your Answer. Thats it nearly. with the code you wrote i got my class as the field value but when i added an empty string for the value like this <?php echo tep_draw_input_field('email_address', '', 'class="colored"'); ?> it is working perfectly. :D
Christian Lescuyer Posted January 31, 2003 Posted January 31, 2003 Oops :oops: sorry! Christian Lescuyer
Guest Posted January 31, 2003 Posted January 31, 2003 No Problem. I've find it out myself so everything is fine now. Important for me was that clue from you. :lol:
Recommended Posts
Archived
This topic is now archived and is closed to further replies.