Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Arghhh


Spots

Recommended Posts

Posted

Hi, i am not very good at this php stuff but i've been trying to make a center box like the one found in www.thegolfingworld.com with the border and background. Does anyone know how to do this? Please keep in mind i don't know very much about all this coding. Thank yoU!!

Posted

Sure not a problem :lol: . If you go to thegolfingworld.com you will see that theres a box with a globe in it and writing wrapped around the picture. I just want to know how to create this box, pick the color background and pick the color of the border. Also i'm curious about how to make a border that goes around the whole website like in www.thegolfingworld.com. Sorry for being so unspecific

Posted

If you go to that site, and then at the top of your browser select 'View' and then select 'Source Code' you'll get a pretty good idea as to how they did the border. As to the 'box' with the globe in it, and the text around it - that's just an image which is aligned to the right and the text naturally wraps around it.

 

Vger

Posted
If you go to that site, and then at the top of your browser select 'View' and then select 'Source Code' you'll  get a pretty good idea as to how they did the border.  As to the 'box' with the globe in it, and the text around it - that's just an image which is aligned to the right and the text naturally wraps around it.

 

Vger

 

 

I tried to view the source but i realized that its all in HTML. When i tried to copy part of the html, it resulted in an error. And i'm not trying to learn how to wrap the text, but i'm trying to make the box that the globe and the wrapped text is in. And i still don't know how to make a border around my entire site like www.thegolfingworld.com

Posted

I shall soon be posting this to 'Contributions' so you're the first to get it. It's how to centre a page using css, and make it a fixed size with a border. In your style sheet.css remove the existing BODY style and paste this in instead

 

BODY {

text-align: center;

background: #ffffff;

color: #000000;

margin: 0px;

}

 

.body {

width: 758px;

border: solid; border-width: 1px;

background: #ffffff;

color: #000000;

margin: auto;

margin-top: 20px;

text-align: left;

}

 

Then, on each page, at the end of the opening <body> tag insert this

 

<div class="body">

 

and put a closing </div> tag after the </body> tag at the bottom of the page.

 

This contains workarounds for both IE and Firefox browsers.

 

As for the border around the 'box' that's just a table with a border, in includes/languages/english/index.php

 

Vger

Posted

No, don't have a screenshot at the mo' and it's late so I'm off to bed. Good point about the location. I do mean all of the page files in the root directory, or in the root folder if osCommerce is installed in a folder.

 

Vger

Archived

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

×
×
  • Create New...