Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

style a input field


dexters

Recommended Posts

Posted

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>

Posted
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

-------------------------------------------

Posted

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.

Archived

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

×
×
  • Create New...