Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Button css Add tep_draw_hidden_field


dstebo

Recommended Posts

Hi,

 

I want to put button in css tep_draw_hidden_field

<?php echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_image_submit('button_in_cart.png', IMAGE_BUTTON_IN_CART); ?>

 

Internet explorer 8 erro - button has no action

<div class="bs_sale"><?php echo tep_draw_hidden_field('products_id', $product_info['products_id']) . '<input type="submit" class="bt buy"/>'; ?></div>

 

 

which solution for this case

 

thank you

Link to comment
Share on other sites

This action css button pressed, browser internet explorer 8 does not work

 

CSS

 

input.bt {
 border:0;
 cursor:pointer;
 padding:0;
}
input.bt:focus {
 box-shadow:none;
}
input.bt, a.bt {
 background:url(images/infobox/buttons.png) no-repeat 1000em 50%;
 display:block;
 line-height:80px;
 overflow:hidden;
 text-indent:-9999em;
}
.bs_sale .bt {
 background-position:0 0px;
 width:210px;
 height:57px;
}
.bs_sale .bt:hover {
 background-position:0 -58px;
}

 

BUTTON

<div class="bs_sale"><?php echo tep_draw_hidden_field('products_id', $product_info['products_id']) . '<input type="submit" class="bt buy" title="Comprar" />'; ?></div>	  

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...