Graveyard666 Posted July 19, 2005 Share Posted July 19, 2005 I have a shopping cart in my header, and it shows up and functions properly in Firefox but not in MSIE can anyone take a look and see why this is? In MSIE its aligned to the left instead of center. www.timsplumbing.com jeff Link to comment Share on other sites More sharing options...
gscreations Posted July 19, 2005 Share Posted July 19, 2005 <!-- Header Cart //--> <td width="780" align="center" valign="top"><table width="780" border="0" cellpadding="0" cellspacing="0" class="text"> <!-- Header Cart2 //--> <td class="headerCart_contents" width="161" height="61" align="center">You Have 0 Products In Your Cart<br><a href="https://host23.ipowerweb.com/~toiletta/shopping_cart.php?osCsid=3ab8158b846f2e865bae40f3706e2219" class="headerCart_checkout">Cart Contents</a> | <a href="https://host23.ipowerweb.com/~toiletta/checkout_payment.php?osCsid=3ab8158b846f2e865bae40f3706e2219" class="headerCart_checkout"">Checkout</a> </td> <!-- Header Cart End //--> </tr> </table> in the above code you are missing a <tr> tag this might be the problem <!-- Header Cart //--> <td width="780" align="center" valign="top"><table width="780" border="0" cellpadding="0" cellspacing="0" class="text"> <!-- Header Cart2 //--> //ADDED tr TAG <tr> <td class="headerCart_contents" width="161" height="61" align="center">You Have 0 Products In Your Cart<br><a href="https://host23.ipowerweb.com/~toiletta/shopping_cart.php?osCsid=3ab8158b846f2e865bae40f3706e2219" class="headerCart_checkout">Cart Contents</a> | <a href="https://host23.ipowerweb.com/~toiletta/checkout_payment.php?osCsid=3ab8158b846f2e865bae40f3706e2219" class="headerCart_checkout"">Checkout</a> </td> <!-- Header Cart End //--> </tr> </table> Link to comment Share on other sites More sharing options...
Graveyard666 Posted July 19, 2005 Author Share Posted July 19, 2005 I added the <TR> like you said but its still out of alignment <!-- Header Cart //--> <td width="780" align="center" valign="top"><table width="780" border="0" cellpadding="0" cellspacing="0" class="text"> <!-- Header Cart2 //--> <td class="headerCart_contents" width="161" height="61" align="center">You Have 0 Products In Your Cart<br><a href="https://host23.ipowerweb.com/~toiletta/shopping_cart.php?osCsid=3ab8158b846f2e865bae40f3706e2219" class="headerCart_checkout">Cart Contents</a> | <a href="https://host23.ipowerweb.com/~toiletta/checkout_payment.php?osCsid=3ab8158b846f2e865bae40f3706e2219" class="headerCart_checkout"">Checkout</a> </td> <!-- Header Cart End //--> </tr> </table> in the above code you are missing a <tr> tag this might be the problem <!-- Header Cart //--> <td width="780" align="center" valign="top"><table width="780" border="0" cellpadding="0" cellspacing="0" class="text"> <!-- Header Cart2 //--> //ADDED tr TAG <tr> <td class="headerCart_contents" width="161" height="61" align="center">You Have 0 Products In Your Cart<br><a href="https://host23.ipowerweb.com/~toiletta/shopping_cart.php?osCsid=3ab8158b846f2e865bae40f3706e2219" class="headerCart_checkout">Cart Contents</a> | <a href="https://host23.ipowerweb.com/~toiletta/checkout_payment.php?osCsid=3ab8158b846f2e865bae40f3706e2219" class="headerCart_checkout"">Checkout</a> </td> <!-- Header Cart End //--> </tr> </table> <{POST_SNAPBACK}> Link to comment Share on other sites More sharing options...
Guest Posted July 19, 2005 Share Posted July 19, 2005 <td class="headerCart_contents" width="161" height="61" align="center"> I think this will align the text in the center of the box but it will not make the box align in the center. What you need 3 tables in a row. Left one width="310", right one width="310" and that leaves your 160 for the center one. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.