PDA

View Full Version : help!!


Bristol_City_FC
27-Oct-2003, 03:24 PM
Could someone have a quick look at this site please:
http://www.hangit-pc.com/acatalog/

the words in the description are cut-off on the right hand side, e.g. second line 'only 83mm thick fro' (should be 'from).

I've had real problems with getting this right. I just cannot see how this table is built, so I manually fixed the width of the cells in Act_ProductLine. However this is more of a hack and I wish I knew how this table is being built.

For example I discovered that there is a big border (like cellpadding) around the image and text.

I have spent quite a bit of time experimenting with these files to no avail:
Act_Primary
Act_ProductLine
Act_ProductSeparator

I suppose my first question is - how is the cell that holds the image controlled?

I see it in Act_ProductLine but it doesn't make sense:

<td valign="TOP" align="LEFT" width="170">
NETQUOTEVAR:TEMPLATEBEGINXML NETQUOTEVAR:PRODUCTIMAGE
</td>

I added the width="170" to force it into line.

Can anyone help?

rmladden
27-Oct-2003, 03:33 PM
Looks good when I have it maxmized. Make the table widths percentages instead of pixels.

Bristol_City_FC
27-Oct-2003, 03:38 PM
Hi,

I'm definitely missing a letter on my screen at max width.

I tried percentages and the cell that holds the text goes very narrow and everything pulls into the middle.

I cannot work out how the table is built though, which is annoying.

Tony

Bristol_City_FC
27-Oct-2003, 03:41 PM
For example, the <HR> below this product is presumably defined in Act_ProductSeparator. The <hr> has a width of 100%, but 100% of what?

<TR>
<TD COLSPAN="3">
NETQUOTEVAR:TEMPLATEBEGINXML
<HR SIZE="1" ALIGN="CENTER" WIDTH="100%">
NETQUOTEVAR:TEMPLATEENDXML
</TD>
</TR>

garyhay
27-Oct-2003, 03:42 PM
I had this problem last week with the product line templates and it's the first time I have came across this problem. It was fixed by removing CELLPADDING in the templates.

chrisbrown
27-Oct-2003, 03:54 PM
I don't know what the browser will do but...

The innermost table has a cols=3 attribute but there are only 2 columns and no colspans.

Maybe that screws the browser up?

Bristol_City_FC
27-Oct-2003, 03:57 PM
Hi,

I made sure all cellpadding="0".

I changed the bgcolor of the cells holding the image and the text (different colours). There is deffo something padding them somewhere, but where??

Here's another weird thing: In Act_Primary I set border="3" on the main page table. The image and text are in different cells so therefore a border should appear between them, but it doesn't. This leads me to believe that there is another table elsewhere.

Here's the code from Act_ProductLine showing that the image and text are in separate cells:

<td valign="TOP" align="LEFT" width="150">
NETQUOTEVAR:TEMPLATEBEGINXML NETQUOTEVAR:PRODUCTIMAGE
</td>

<td valign="TOP" align="LEFT" width="500">

<a name="NETQUOTEVAR:PRODUCTANCHOR">
<span class="actregular">
<b>NETQUOTEVAR:PRODUCTNAME</b>
</span>
</a>

I commented-out every table that didn't appear to be doing anything and I am left with the bare bones, but I still can't see it.

Anyone any idea what's happening?

My very limited understanding is that Act_Primary calls Act_ProductLine and that's basically it. Act_ProdtcSeparator is just a <tr>

I know what I need - a definitive map of how all this is held together. Can anyone give or sell me one???

Bristol_City_FC
27-Oct-2003, 04:03 PM
Hi Chris
I removed the COLSPAN in Act_ProductSeparator

garyhay
28-Oct-2003, 09:33 AM
Can you create a snapshot and e-mail direct with a link to it. If it's 6.1.2.0.0.0 DDVA

Then we can have a look for you

chrisbrown
28-Oct-2003, 11:28 AM
I removed the COLSPAN in Act_ProductSeparator
But should you have done so?