Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Alignment problems in Internet Explorer

Status
Not open for further replies.

PinkMink

Technical User
Mar 28, 2005
7
US
Good morning guys and gals,

I am currently building an online record shop using Dreamweaver MX. I am writing the code in PHP connecting to a MySQL database, primarily testing the output using Mozilla Firefox.

Problems are arising when I preview a table that contains the item details, in particular a piece of code (supplied by PayPal) that adds the item details to a PayPal shopping basket by clicking a button. Everything is perfectly aligned within Firefox, but when using Internet Explorer the shopping basket button seems to align itself to the top of the cell and it appears to increase the height of the cell by double! I've tried different alignment permutations, restricting the size of the cell, etc...but Internet Explorer continues to shift the contents of this one cell upwards.

The code I'm using to generate the button in the cell is...



<td><form target="paypal" action=" method="post">
<input type="image" src=" border="0"
name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
<input type="hidden" name="add" value="1">
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="business" value="myemail@yahoo.co.uk">
<input type="hidden" name="item_name" value="<?php echo $row_house['item_name']; ?>">
<input type="hidden" name="item_number" value="<?php echo $row_house['item_number']; ?>">
<input type="hidden" name="amount" value="<?php echo $row_house['item_price']; ?>">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="currency_code" value="GBP">
</form></td>
<td bgcolor="#FFe1FF"></td>
</tr>



Any help would be greatly appreciated...as hair is becoming lost due to this niggling problem!

Regards,

Rob
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top