Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Align Center


Stephie

Recommended Posts

I've seen a lot of people recommend this:

 

Fixed Width Site with CSS

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Thank you it worked great except the index isn't fixed correctly like the catagory pages they are .

Worked for me. Check index.php to see if page alignment is specified there.

Link to comment
Share on other sites

  • 5 years later...

I used the "Fixed Width Site with CSS" addon (http://addons.oscommerce.com/info/2710)

 

it's work well with FF and chrome browser, but with IE its look weird :(

 

look at my website: http://www.light-publishing.com/ with IE browser, there is a white column block at the right side.

 

anyone here can help me with the solution ?

 

thanks

Link to comment
Share on other sites

I used the "Fixed Width Site with CSS" addon (http://addons.oscommerce.com/info/2710)

 

it's work well with FF and chrome browser, but with IE its look weird :(

 

look at my website: http://www.light-publishing.com/ with IE browser, there is a white column block at the right side.

 

anyone here can help me with the solution ?

 

thanks

 

is there anyone can help me to solve my problem here...???

 

please....

Link to comment
Share on other sites

What happens if you alter the width setting that you added to the stylesheet.

 

hi .. Steve, nice to meet you here ... :)

 

I try to change the width of my stlysheet, from 960px to 900px (look at the screenshot below)

 

1wyui.jpg

 

the right alignment will be messy, either with firefox, chrome, or IE

Link to comment
Share on other sites

Somewhere near the bottom of every page on your site you have a table left when the right column was removed. When viewing the source of your pages you have

 

<!-- body_text_eof //-->

<td width="225" valign="top"><table border="0" width="225" cellspacing="0" cellpadding="2">

 

<!-- right_navigation //-->

 

If you remove

 

<td width="225" valign="top"><table border="0" width="225" cellspacing="0" cellpadding="2">

 

 

Your page seems to look fine.

 

This bit of code will need to be removed from every page in your root folder. Try it on your index page first.

Edited by 14steve14

REMEMBER BACKUP, BACKUP AND BACKUP

Link to comment
Share on other sites

Somewhere near the bottom of every page on your site you have a table left when the right column was removed. When viewing the source of your pages you have

 

<!-- body_text_eof //-->

<td width="225" valign="top"><table border="0" width="225" cellspacing="0" cellpadding="2">

 

<!-- right_navigation //-->

 

If you remove

 

<td width="225" valign="top"><table border="0" width="225" cellspacing="0" cellpadding="2">

 

 

Your page seems to look fine.

 

This bit of code will need to be removed from every page in your root folder. Try it on your index page first.

 

you are my man... !!! its work!!!

 

thanks Steve.... there is no "white columns" anymore.... :thumbsup:

Link to comment
Share on other sites

Join the conversation

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

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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...