Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding table to entire site?


cybin

Recommended Posts

I would like to add a table to the entire site. Basically instead of the site using the full browser width I'd like to add a table so there is a space on the left and right side.

 

I can do it using dreamweaver, I take the index.php file drop it into dreamweaver and add a table. Only problem is the table won't show up in the cart, check out, ect.

 

I'm pretty sure I have to add something to the sylesheet but what?

 

Thanks for the help in advance.

 

-Cybin

Link to comment
Share on other sites

In order to do what you want, you place the opening part of the table in includes/header.php and the closing part in includes/footer.php. Take a look at the Center Shop contribution if you want an example.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Wow thanks, I added this Html to header.php

 

<table width="90%" border="1" align="center" bordercolor="#000000" bgcolor="#FFFFFF">

<tr>

<td>

 

and it worked right way. I still closed the box in footer.php though.

 

I like STS but everytime I install something new like Paypal IPN or Ultra_pics something goes wrong. I figure is I do it the hard way but leave lot's of comments I should learn more about this php thing.

 

Thanks so much!!!

 

-Cybin

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...