osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

fixed-width-container

This is a discussion on fixed-width-container within the New osCommerce Contributions forums, part of the osCommerce 2.2 Forums category; On the css for the table that contains all the oscommerce output, you need to set margin:auto. Because some versions ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > New osCommerce Contributions

Register FAQ Members List Calendar Mark Forums Read


Welcome to osCMax Join osCMax Now! Download osCMax Here
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 04-16-2007, 12:50 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 11,486
Thanks: 83
Thanked 356 Times in 334 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Post fixed-width-container

On the css for the table that contains all the oscommerce output, you need to set margin:auto.

Because some versions of IE do not implement CSS according to the W3C standard properly, there is an issue where the nested table will not always center like you would expect it to according to this contribution.

the simple fix is to make sure that your outermost table has css margins set.

This is how I do it... see attached zip file.



More...
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
fixed-width-container michael_s New osCommerce Contributions 0 03-27-2007 06:50 PM
fixed-width-container michael_s New osCommerce Contributions 0 02-24-2007 11:02 AM
fixed-width-container michael_s New osCommerce Contributions 0 02-24-2007 11:02 AM
fixed width problems, please help:) willhost osCommerce 2.2 Modification Help 0 11-07-2005 11:06 AM
I FIXED MY SSL PROBLEM!!! cxm322 osCommerce 2.2 Modification Help 1 05-23-2003 01:18 PM


All times are GMT -8. The time now is 05:11 PM.


Powered by vBulletin®
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax