Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Horizontal Infoboxes on index.php


jayney79

Recommended Posts

I'm trying to get my infoboxes for bestsellers/specials/what's new all on one horizontal row on the index page. Unfortunately, when I keep trying to manipulate the code in index.php, I keep getting a new row. I've tried incorporating the include statements for the relevant boxes within the same <tr></tr> tags but to no avail. I've tried everything I can possibly think of (although my php knowledge is limited :blink: ) and wondered whether this is possible or they must simply be in the left/right column pages.

 

Here is a html layout of what I want

http://dotrix.co.uk/ecommerce/os/catalog/index1.htm

 

Here is the php layout that I am getting

http://dotrix.co.uk/ecommerce/os/catalog/index3.php

 

I'm really tearing my hair out now and would be grateful of any help that anyone can provide. I have already added a contribution for the bestseller to show as an image and to save any confusion with the script, my admin is accesible via the normal route/path.

 

Hope this makes sense,

 

Many thanks in advance,

 

Nikki.

Link to comment
Share on other sites

I'm trying to get my infoboxes for bestsellers/specials/what's new all on one horizontal row on the index page.  Unfortunately, when I keep trying to manipulate the code in index.php, I keep getting a new row.  I've tried incorporating the include statements for the relevant boxes within the same <tr></tr> tags but to no avail. I've tried everything I can possibly think of (although my php knowledge is limited :blink: ) and wondered whether this is possible or they must simply be in the left/right column pages.

 

Here is a html layout of what I want

http://dotrix.co.uk/ecommerce/os/catalog/index1.htm

 

Here is the php layout that I am getting

http://dotrix.co.uk/ecommerce/os/catalog/index3.php

 

I'm really tearing my hair out now and would be grateful of any help that anyone can provide.  I have already added a contribution for the bestseller to show as an image and to save any confusion with the script, my admin is accesible via the normal route/path. 

 

Hope this makes sense,

 

Many thanks in advance,

 

Nikki.

Ok sorry i am lost as well

 

have you try to do this

<table cellpaddong="0" cellspacing="3" width="100%">

<tr>

<td width="33%"> best</td>

<td width="34%">special</td>

<td width="33%">what ever</td>

</tr></table>

i hope i am right

Link to comment
Share on other sites

Ok sorry i am lost as well

 

have you try to do this

<table cellpaddong="0" cellspacing="3" width="100%">

<tr>

<td width="33%"> best</td>

<td width="34%">special</td>

<td width="33%">what ever</td>

</tr></table>

i hope i am right

 

Thanks for your help Hamed. The html did put the items in a row but I think my problem lies with the bestsellers mod I have put in. It is based on the same principle as the latest products box and I can't find the code to change the width of the tables for either - i have tried changing every page I can think of!

 

Any ideas????

 

Kind regards,

nikki.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...