Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Setting the width of the site...


datoupee

Recommended Posts

Posted

How would I go about setting the width of the entire site ? I would like to set it up so from left to right the page is only a certain amount of pixels long.

Posted

You can also change the first line of code, this one:

 

around line 13: <table border="0" width="100%" cellspacing="0" cellpadding="0">

 

change the width to whatever pixel size you want. If you want to center the store, then you just need to add a <center> code right before it, the <center> tag does not need to be closed.

Thanks,

 

Karole

Posted
You can also change the first line of code, this one:

 

around line 13: <table border="0" width="100%" cellspacing="0" cellpadding="0">

 

change the width to whatever pixel size you want. If you want to center the store, then you just need to add a <center> code right before it, the <center> tag does not need to be closed.

hey, under what file is this first line of code?

Posted

It worked ! Thanks Karole !

 

I switched the width in the following files...

 

//catalogue/includes/header.php

//catalogue/includes/footer.php

 

The body between on all of the pages seems to correctly fit the width once you have changed the header and footer.

Posted

On any sites that I have customized I only change the header file

 

includes/header.php,

but it can't hurt to change the footer.php too :)

Thanks,

 

Karole

Archived

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

×
×
  • Create New...