Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Page Dimension Issues


Guest

Recommended Posts

Posted

Hi,

 

While looking at my store on someone else's coputer I noticed the index page was the right width for my widescreen, but not for their normal screen, so set about making the table narrower... trouble is, the table is getting narrower (the table is enclosed within the 'define main' tag in index.php) but the page as a whole isnt...

 

please follow link below to see what I mean....

 

http://livefoodsforgood.co.uk/lfg/index.php

 

Any help to tidy it up / make it the dimensions of a typical screen much appreciated........

Posted
Hi,

 

While looking at my store on someone else's coputer I noticed the index page was the right width for my widescreen, but not for their normal screen, so set about making the table narrower... trouble is, the table is getting narrower (the table is enclosed within the 'define main' tag in index.php) but the page as a whole isnt...

 

please follow link below to see what I mean....

 

http://livefoodsforgood.co.uk/lfg/index.php

 

Any help to tidy it up / make it the dimensions of a typical screen much appreciated........

Set it to a fixed width. I use, rightly or wrongly, width: 980px;

Posted

Thanks, that's what I want to do.. just not sure how

Posted

I changed the width of mine by changing

 

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

 

to:

 

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

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

 

in stylesheet.css in the root folder. You can change the width to whatever you want. I have 850px as it suits my store.

Posted

Added the above but no change...

 

The dimensions haven't manifested in any of the stores pages

Archived

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

×
×
  • Create New...