Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

strange problem with STS infobox


chriz74

Recommended Posts

Posted

I have this problem. I did my header php html file and specified a 14 pixels height for the cell (to match the 14 pixels height of the left and right corner images)... In the first page although, the "new this month" cell is drawn at 16 pixels height. How can this be? You can see it in the picture I included (new this month is changed into "vetrina") ... how can I fix this? Also, is it possible to make a custom infobox for the "new this month" box? If so how should I name the file?

 

problem.jpg

Posted

I found out that the program is formatting the cell with cellpadding=2

 

<td class="infoBoxHeading"><table border="0" width="100%" cellspacing="0" cellpadding="2">

 

but my template has a cellpadding=0 ... so where does this 2 come from? What is the php that generates that cell?

Posted
I found out that the program is formatting the cell with cellpadding=2

 

<td class="infoBoxHeading"><table border="0" width="100%" cellspacing="0" cellpadding="2">

 

but my template has a cellpadding=0 ... so where does this 2 come from? What is the php that generates that cell?

 

 

Ok... solved, it's the cellpadding in the boxes.php

Posted
I found out that the program is formatting the cell with cellpadding=2

 

<td class="infoBoxHeading"><table border="0" width="100%" cellspacing="0" cellpadding="2">

 

but my template has a cellpadding=0 ... so where does this 2 come from? What is the php that generates that cell?

 

 

Ok... solved, it's the cellpadding in the boxes.php

Archived

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

×
×
  • Create New...