dexters Posted November 7, 2007 Posted November 7, 2007 how do i style the input field? where do i bring in my class="inputstyle" in the code below? <td class="main"><?php echo tep_draw_input_field('nickname') . ' ' . (tep_not_null(ENTRY_NICK_NAME_TEXT) ? '<span class="inputRequirement">' . ENTRY_NICK_NAME_TEXT . '</span>': ''); ?></td>
rusty1001 Posted November 7, 2007 Posted November 7, 2007 how do i style the input field? where do i bring in my class="inputstyle" in the code below? <td class="main" class="inputstyle"><?php echo tep_draw_input_field('nickname') . ' ' . (tep_not_null(ENTRY_NICK_NAME_TEXT) ? '<span class="inputRequirement">' . ENTRY_NICK_NAME_TEXT . '</span>': ''); ?></td> there is a input field in the css style sheet or you could do the input {your style } in the style sheet, as a generic for all inputs, cheers Rusty -------------------------------------------
dexters Posted November 7, 2007 Author Posted November 7, 2007 yeah i saw already, but i want to give them an individual style because i found out when i use the global styling for all inputs ... the add to chart button and some others also change the styling. add chart button who is infected: <td class="main" align="right"><?php echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_image_submit('button_in_cart.gif', IMAGE_BUTTON_IN_CART); ?></td> so do you know how to give a input field a style... dont know how i do this with php just with html.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.