Banging my head against the wall at the moment with my shopping cart. My remove item button keeps wrapping to the next line making my shopping cart look naff (see attachment)!!
I have altered the code to try and solve which seems to work if I only put one item in the shopping cart. However, as soon as I place additional items into cart it starts misbehaving again.
Here's my altered code in the cart.tpl file. All I've altered is the addition of style="dispay:inline" after the image code. Any help would be gratefully recieved. Be gentle, I'm not a coder by trade.......
Code: Select all
<td class="quantity"><input type="text" name="quantity[<?php echo $product['key']; ?>]" value="<?php echo $product['quantity']; ?>" size="1" /> <input type="image" src="catalog/view/theme/default/image/update.png" alt="<?php echo $button_update; ?>" title="<?php echo $button_update; ?>" /> <a href="<?php echo $product['remove']; ?>" ><img src="catalog/view/theme/default/image/remove.png" style="display:inline" alt="<?php echo $button_remove; ?>" title="<?php echo $button_remove; ?>" /></a></td>