Results 1 to 2 of 2
  1. #1
    Join Date
    May 2008
    Posts
    50
    Plugin Contributions
    0

    Default Shopping Cart Table messed up

    Hi,
    I've done some customizations to the look of my shopping cart table. It looks great in IE, but it's all messed up in Mozilla and Chrome. I could use some help. Here's the code for the table:

    PHP Code:
    <table  border="0" width="100%" cellspacing="0" cellpadding="0" id="cartContentsDisplay">
         <tr class="tableHeading">
            <th scope="col" id="scQuantityHeading"><?php echo TABLE_HEADING_QUANTITY?></th>
            <th scope="col" id="scUpdateQuantity">&nbsp;</th>
            <th scope="col" id="scProductsHeading"><?php echo TABLE_HEADING_PRODUCTS?></th>
            <th scope="col" id="scUnitHeading"><?php echo TABLE_HEADING_PRICE?></th>
            <th scope="col" id="scTotalHeading"><?php echo TABLE_HEADING_TOTAL?></th>
            <th scope="col" id="scRemoveHeading">&nbsp;</th>
         </tr>
             <!-- Loop through all products /-->
    In Mozilla, the headers are just stacked up into one column on top of each other, rather than aligned vertically across the top of the table. In IE, they are aligned horizontaly as I would expect.

    If you'd like to see it for yourself, my site is www.delightfuldaisy.com, just add a product to your cart and you'll quickly see.

    Thanks in advance for any help.

    TJ

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,873
    Plugin Contributions
    96

    Default Re: Shopping Cart Table messed up

    99.99% of the time, when your page looks good on (browser-x) and doesn't on (browser-y), it's due to validation errors in the generated HTML. In your case, you've got 32 errors and 6 warnings (http://validator.w3.org/check?verbos...Fshopping_cart) on that page.

    Fix the validation errors ... and then check the formatting under FireFox and Chrome again.

 

 

Similar Threads

  1. Messed up shopping cart buttons
    By jvanree in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 25 Feb 2009, 10:57 PM
  2. Shopping cart file - messed up?
    By kevinmc3 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 14 Apr 2008, 03:05 PM
  3. messed up shopping cart
    By cheap sports in forum General Questions
    Replies: 1
    Last Post: 31 Dec 2007, 03:12 AM
  4. Table containing shopping cart Items
    By piyush38 in forum General Questions
    Replies: 1
    Last Post: 20 Nov 2007, 04:55 PM
  5. Shopping Cart Margins are All Messed Up
    By terryrocks in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 9 Oct 2006, 11:01 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg