datoupee Posted July 22, 2004 Posted July 22, 2004 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.
soccercheese Posted July 22, 2004 Posted July 22, 2004 Maybe you could try this. It would center the shop also, but you could change that... http://www.oscommerce.com/community/contributions,266
Karole Posted July 22, 2004 Posted July 22, 2004 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
webbie Posted July 23, 2004 Posted July 23, 2004 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?
datoupee Posted July 23, 2004 Author Posted July 23, 2004 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.
Karole Posted July 24, 2004 Posted July 24, 2004 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
Recommended Posts
Archived
This topic is now archived and is closed to further replies.