Jump to content

Centering problem


KevinM1

Recommended Posts

I'm trying to center the laptop and desktop images for my work's storefront page (found at http://www.thinkingmachinestore.com/storefront.php), but I can't seem to get them to center at all.  They stay glued to the left of the table cell*, even when I use margin-left: auto, margin-right: auto.  Any ideas?
Link to comment
Share on other sites

I figured I'd ressurect this thread, as I seem to be having more centering issues.

In both my viewitem.php (since the page is created dynamically based on what the user clicks (yay $_GET), here's an instance of the problem: http://www.thinkingmachinestore.com/viewitem.php?cat=lenovo_desktops&id=1) and my checkout.php page (http://www.thinkingmachinestore.com/checkout.php), Firefox is ignoring my CSS that should be centering the contents of the lower table cell.  What's strange is that the lower-most form inputs are centered, but the rest isn't.  I use a bit of floating positioning for the form in checkout.php, so I couldn't be surprised if there was a conflict there, but my viewitem.php has no floats to interfere with the main div's positioning.  Everything appears correct in IE7.

Any ideas?
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.