Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Assigning a custom CSS to a input box


indigo11

Recommended Posts

Posted

I would like to assign a custom CSS that would make a border in all input boxes, like in the login.php file.

 

If i change this:

 

<tr>

<td class="main"><b><?php echo ENTRY_EMAIL_ADDRESS; ?></b></td>

<td class="main"><?php echo tep_draw_input_field('email_address'); ?></td>

</tr>

 

to:

 

<tr>

<td class="custom"><b><?php echo ENTRY_EMAIL_ADDRESS; ?></b></td>

<td class="custom"><?php echo tep_draw_input_field('email_address'); ?></td>

</tr>

 

beeing in the stylesheet custom =

 

.custom {border: #EFEFF0 4px solid;}

 

I only get a border in the table...

 

Could you please help me out?

 

 

Thanks,

 

Manuel

Posted

Why does changing the border in"INPUT" in the stylesheet.css also changes the border in the "sign in" button image and in the "quick find" button?

Is there a way to change it?

 

Thanks,

 

Manuel

Archived

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

×
×
  • Create New...