Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How can I put a border around my center shop?


mtechama

Recommended Posts

Yes I want to know how I can put a border in the center of my shop?

Wade Morris

Amarillo, Texas

 

Before you do any changes on your site you need to do BACKUP! BACKUP!

Link to comment
Share on other sites

<table border="1" width="100%" bordercolor="#000000" cellspacing="0" cellpadding="0"> command.

 

either edit the table commands in index.php or place the table command inside catalog/includes/header.php

Link to comment
Share on other sites

<table border="1" width="100%" bordercolor="#000000" cellspacing="0" cellpadding="0"> command.

 

either edit the table commands in index.php or place the table command inside catalog/includes/header.php

 

 

No, I am not talking about just the header. I am planning to put a christmas border all around my whole shop and it will be a gif or jpg file.

 

xmasgarl.gif

Wade Morris

Amarillo, Texas

 

Before you do any changes on your site you need to do BACKUP! BACKUP!

Link to comment
Share on other sites

HI there, yes, the the start of the border table I would put into your header and finish the table off in the footer,

 

OSC works by calling the header file first then forexample the index page and finishes off with the footer.

 

So if you place a table inside the header witha cell padding of say 30 and use the image as your background it should work, if not let me know and I will write the code for you with the above image.

 

DO you require the image to go all around the main page, if so do you have a left, right and bottom image as well as the top image.

Link to comment
Share on other sites

HI there, yes, the the start of the border table I would put into your header and finish the table off in the footer,

 

OSC works by calling the header file first then forexample the index page and finishes off with the footer.

 

So if you place a table inside the header witha cell padding of say 30 and use the image as your background it should work, if not let me know and I will write the code for you with the above image.

 

DO you require the image to go all around the main page, if so do you have a left, right and bottom image as well as the top image.

 

I said "The Whole Page" which means around the main page...

Wade Morris

Amarillo, Texas

 

Before you do any changes on your site you need to do BACKUP! BACKUP!

Link to comment
Share on other sites

Another way, unsure what image you want to use, is adjust your style sheet:

 

BODY {

text-align: center;

background-image: url(images/myimage.gif);

color: #000000;

margin: 0px;

}

Link to comment
Share on other sites

Another way, unsure what image you want to use, is adjust your style sheet:

 

BODY {

text-align: center;

background-image: url(images/myimage.gif);

color: #000000;

margin: 0px;

}

 

Dude that gives me a background I don't need a back ground here is my stylesheet.css

BODY {
 text-align: center;
 background: #333399;
 color: #000000;
 margin: 0px;
}

.fixcenter {
 width: 950px;
 border: solid; border-width: 1px;
 background: #ffffff;
 color: #000000;
 margin: auto;
 margin-top: 20px;
 text-align: left;
}

A {
 color: #000000;
 text-decoration: none;
}

Wade Morris

Amarillo, Texas

 

Before you do any changes on your site you need to do BACKUP! BACKUP!

Link to comment
Share on other sites

stu2000 was right, and dude, yes you do need a background--just a transparent one the size of your store and centered

If you do like this it will work---make the image the size of your page in photoshop -- a transparent rectangle you know, so it will be the outline of your store, so that it will show the way you want

"I must admit that I personally measure success in terms of the contributions an individual makes to her or his fellow human beings."

---Margaret Mead---

 

"The answer is never the answer. What's really interesting is the mystery. If you seek the mystery instead of the answer, you'll always be seeking. I've never seen anybody really find the answer -- they think they have, so they stop thinking. But the job is to seek mystery, evoke mystery, plant a garden in which strange plants grow and mysteries bloom. The need for mystery is greater than the need for an answer.

--Ken Kesey"

Link to comment
Share on other sites

you will have to play around with it, I have done this on stores and it will work, just getting the image the right size and centered right is key, you could add a no repeat command to the css there to see if that helps, I am sure if you search on google you will find more help for this there, since this is not really an osc question

Keep trying, you will get it!

"I must admit that I personally measure success in terms of the contributions an individual makes to her or his fellow human beings."

---Margaret Mead---

 

"The answer is never the answer. What's really interesting is the mystery. If you seek the mystery instead of the answer, you'll always be seeking. I've never seen anybody really find the answer -- they think they have, so they stop thinking. But the job is to seek mystery, evoke mystery, plant a garden in which strange plants grow and mysteries bloom. The need for mystery is greater than the need for an answer.

--Ken Kesey"

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...