Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Changing Table width


Guest

Recommended Posts

Posted

Hi everybody!

 

I need to change the table width from 100% to a fixed number and center it so that oscommerce doesn't open all the way.

I only managed to changed the header and the table below but not the WHOLE TABLE so I changed them back.

 

Anyone knows how to do this. All the aftermeket OSCOmmerce templated have done this, but they are expensive.

 

Thanks!

 

Bernie

Posted

Try Searching the contibutions with the word "center".

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Posted
Hi everybody!

 

I need to change the table width from 100% to a fixed number and center it so that oscommerce doesn't open all the way.

I only managed to changed the header and the table below but not the WHOLE TABLE so I changed them back.

 

Anyone knows how to do this. All the aftermeket OSCOmmerce templated have done this, but they are expensive.

 

Thanks!

 

Bernie

 

 

There are a number of issues here as different browsers behave differently, best way I found:

 

At the very start of header.php add:

 

 

<div id="content">

 

then at the very bottom of footer.php add:

 

</div>

 

the add to your css:

 

#content {

width: 900; margin: auto;

border: 1px solid #999999;

}

 

Hope that helps

 

:thumbsup:

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Posted
Try Searching the contibutions with the word "center".

 

Thanks I will look into it!

 

Bernie

Posted
There are a number of issues here as different browsers behave differently, best way I found:

 

At the very start of header.php add:

<div id="content">

 

then at the very bottom of footer.php add:

 

</div>

 

the add to your css:

 

#content {

width: 900; margin: auto;

border: 1px solid #999999;

}

 

Hope that helps

 

:thumbsup:

 

 

Hey!! That did the trick real nice!!! THANKS

 

PS.... How do I center it for IE, it ts centered in Firefox. The test site is

http://www.bereline.com/store

 

Thanks Sam!! :rolleyes:

Posted

To center add to the content css:

 

text-align:center;

 

Cheers B)

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...