Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Want to set max page size of 900px, where to edit?


neoelectrex

Recommended Posts

Posted

Ok Instead of editing every php file and the corresponding table, is there a div or something in one of these files I can just set at 900px that would have a global effect? Also for td bgcolor and the like?

 

TIA!

Posted

Add this to your stylesheet.css

 

body, html {
background:#000000;
 color: #000000;
 margin: 0px;
 padding:0px;
 text-align: center;
}
#centerpage{
width: 900px;
margin: 10px auto 10px auto;
background:#000000;
text-align: left;
}

 

in your header just before the HTML starts add

<div id="centerpage">

 

and at the very bottom of your footer add

</div>

 

There are some colour defines there you will want to change also

Nic

Sometimes you're the dog and sometimes the lamp post

[/url]

My Contributions

  • 3 weeks later...
Posted

Add this to your stylesheet.css

 

body, html {
background:#000000;
 color: #000000;
 margin: 0px;
 padding:0px;
 text-align: center;
}
#centerpage{
width: 900px;
margin: 10px auto 10px auto;
background:#000000;
text-align: left;
}

 

in your header just before the HTML starts add

<div id="centerpage">

 

and at the very bottom of your footer add

</div>

 

There are some colour defines there you will want to change also

Nic

 

Thanks that worked perfectly.

Archived

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

×
×
  • Create New...