Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

Yes make the templates that way and your good to go.

 

The site will look however you would want it, by creating template files or just 1 template file for the whole site.

 

It helps to know html or have an html editor, preferably a WYSIWYG one.

Powered By osC 2.2RC2a STS 4.5.8 - HTC 2.6.3 - FP 1.5.9 - BCH 1.0.0

  • 2 months later...
Posted

Heres a quick way to get it done, also allows you to set the size.

 

catalog/includes/sts_templates/test(or Full which ever you're using)/sts_template.html

 

Find:

 

</head>

<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0">

 

Add just below, placement is not critical just needs to be in the body.

 

<div id="wrapper">

 

 

NOTE: colors and sizes below are for my site you can tweek them how you want.

 

catalog/stylesheet.css

 

Find:

 

BODY {

text-align: center;

background: #000000;

color: #ffffff;

margin: 0px;

}

 

Add just below: placement is not critical

 

div#wrapper {

position:relative;

margin-left:auto;

margin-right:auto;

width:1004px;

background-color: #000000;

}

  • 1 month later...
Posted
Heres a quick way to get it done, also allows you to set the size.

 

catalog/includes/sts_templates/test(or Full which ever you're using)/sts_template.html

 

Find:

 

</head>

<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0">

 

Add just below, placement is not critical just needs to be in the body.

 

<div id="wrapper">

 

 

NOTE: colors and sizes below are for my site you can tweek them how you want.

 

catalog/stylesheet.css

 

Find:

 

BODY {

text-align: center;

background: #000000;

color: #ffffff;

margin: 0px;

}

 

Add just below: placement is not critical

 

div#wrapper {

position:relative;

margin-left:auto;

margin-right:auto;

width:1004px;

background-color: #000000;

}

 

 

Hi Sitefire

 

I tried this code. This works on firefox prior to version 3, but does not work on New version of Firefox or internet explorer.

 

Does anybody have any suggestions on how to get this code to work with other browsers?

 

This is a great idea to use with sts templates.

 

Please Help

 

 

 

I have the following

Oscommerce rc2

STS 4.5.8

Header Tags Seo lastest

SEO assistant lastest

 

Thanks

Joey

I have installed:

Oscommerce version 2.2rc2a, STS version 4.5.8, Header Tags SEO version 3.1.5, SEO Assistant version 2.1

 

Thanks

Joey

  • 1 year later...
Posted
Is there a solution for the solution not working in newer FF and IE ?

 

 

its failing as u open div, but fail to close, I dod'nt know sts, but i believe this method should work with it.

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
Hi Sitefire

 

I tried this code. This works on firefox prior to version 3, but does not work on New version of Firefox or internet explorer.

 

Does anybody have any suggestions on how to get this code to work with other browsers?

 

This is a great idea to use with sts templates.

 

Please Help

 

 

 

I have the following

Oscommerce rc2

STS 4.5.8

Header Tags Seo lastest

SEO assistant lastest

 

Thanks

Joey

 

In for example index.php.html

On the lines that say width="100%" '

REPLACE THAT WITH

width="800px"

AND ADD

align="center"

To the same lines

 

hey presto fixed widht and centered :-)

Posted
its failing as u open div, but fail to close, I dod'nt know sts, but i believe this method should work with it.

 

This is how i made it so it works :-)

 

In for example index.php.html

On the lines that say width="100%" '

REPLACE THAT WITH

width="800px"

AND ADD

align="center"

To the same lines

 

hey presto fixed widht and centered :-)

Posted
This is how i made it so it works :-)

 

In for example index.php.html

On the lines that say width="100%" '

REPLACE THAT WITH

width="800px"

AND ADD

align="center"

To the same lines

 

hey presto fixed widht and centered :-)

 

Hmm....why not just ask in the STS Support Thread or better yet, do a search in the STS Support thread and find the answer to this question that has been asked too many times already.

 

Link in my signature below as well as listed in the STS User Manual.

Bill Kellum

 

Sounds Good Productions

STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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