Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Centre whole page


kirkside

Recommended Posts

Hi all,

 

Here starts a whole load of questions that I have on how to customise my site. Rather than the page filling up the whole screen I want to reduce it to look roughly like a A4 page (just the width). In other words it would fit perfectly on a monitor running at 800x600 but central when running a higher resolution. I would also like a different colour on the left and right side of the page (not the columns). Here is an example of what I am after - http://www.maternityactivewear.com. Thanks in advance.

Link to comment
Share on other sites

You need to create a table at the top of the header.php file where the html starts and make it 778px wide and then add the closing tag to the footer of the page.

 

ex:

Header.php

 

<table width="778px"><td>

 

footer.php

</td></table>

 

Hi all,

 

Here starts a whole load of questions that I have on how to customise my site. Rather than the page filling up the whole screen I want to reduce it to look roughly like a A4 page (just the width). In other words it would fit perfectly on a monitor running at 800x600 but central when running a higher resolution. I would also like a different colour on the left and right side of the page (not the columns). Here is an example of what I am after - http://www.maternityactivewear.com. Thanks in advance.

Link to comment
Share on other sites

You need to create a table at the top of the header.php file where the html starts and make it 778px wide and then add the closing tag to the footer of the page.

 

ex:

Header.php

 

<table width="778px"><td>

 

footer.php

</td></table>

 

also for centering page

<center>

or stylesheet align:center;

or table align=center

 

Lots of options

Link to comment
Share on other sites

Before I even test this I want to say how impressed and grateful I am for you quick reply ctr17163. Thank you. Hopefully you will be able to help with the other posts I am about to write.

Link to comment
Share on other sites

I am here...

 

Before I even test this I want to say how impressed and grateful I am for you quick reply ctr17163. Thank you. Hopefully you will be able to help with the other posts I am about to write.
Link to comment
Share on other sites

Archived

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

×
×
  • Create New...