I am editing the productline3.html file to try to format products correctly for a long list of products with no images.
The problem is that the table cell widths are setting themselves to roughly 30% for the left cell (containing the product name & desc) and 70% for the right cell (containing the price & qty).
I have tried putting a width of 50% in the first cell but it makes no difference.
This is causing the product name to be wrapped to the next line, which is ugly.
I don't understand why it has chosen the widths it has - the longest price line is no longer than 50% of the width so why is it taking up 70%?
so...
1) Why has it chosen to set the cell widths as it has?
2) why is the 'width=50%' having no effect?
3) how do I fix it!?
code as below -
here's a screenshot -
The problem is that the table cell widths are setting themselves to roughly 30% for the left cell (containing the product name & desc) and 70% for the right cell (containing the price & qty).
I have tried putting a width of 50% in the first cell but it makes no difference.
This is causing the product name to be wrapped to the next line, which is ugly.
I don't understand why it has chosen the widths it has - the longest price line is no longer than 50% of the width so why is it taking up 70%?
so...
1) Why has it chosen to set the cell widths as it has?
2) why is the 'width=50%' having no effect?
3) how do I fix it!?
code as below -
<body><!-- ProductLine3 HTML begin -->
<!-- Insert HTML for the top of the individual product -->
NETQUOTEVAR:INCLUDE Act_ProductSeparator.html
NETQUOTEVAR:ENDSEPARATOR
NETQUOTEVAR:PRODUCTFORMBEGIN
<tr>
<td rowspan="1" valign="TOP" align="LEFT" width="40%">
NETQUOTEVAR:TEMPLATEBEGINXML
<a name="NETQUOTEVAR:PRODUCTANCHOR" href="(EmptyReference!)"><span class="actregular"><b>NETQUOTEVAR:PRODUCTNAME</b></span></a>
<br><span class="actxxsmall">NETQUOTEVAR:PRODUCTREF
NETQUOTEVAR:PRODUCTDESCRIPTION</span>
</td>
<td colspan="2" valign="TOP" align="right">
<span class="actsmall">
<b>NETQUOTEVAR:PRODUCTPRICE</b>
NETQUOTEVAR:OTHERINFOPROMPT
NETQUOTEVARATEPROMPT
</span>
<br>
<span class="actxsmall">
NETQUOTEVAR:CARTERRORXMLNETQUOTEVAR:PRODUCTQUANTITY
NETQUOTEVAR:EXTINFOLINKNETQUOTEVAR:EXTINFOBUTTON
<Actinic:ACTIONS>NETQUOTEVAR:ADDTOCARTBUTTON</Actinic:ACTIONS>
</span>
NETQUOTEVAR:TEMPLATEENDXML
</td>
</tr>
NETQUOTEVAR:PRODUCTFORMEND
NETQUOTEVAR:NEXT
<!-- ProductLine3 HTML end --></body>
<!-- Insert HTML for the top of the individual product -->
NETQUOTEVAR:INCLUDE Act_ProductSeparator.html
NETQUOTEVAR:ENDSEPARATOR
NETQUOTEVAR:PRODUCTFORMBEGIN
<tr>
<td rowspan="1" valign="TOP" align="LEFT" width="40%">
NETQUOTEVAR:TEMPLATEBEGINXML
<a name="NETQUOTEVAR:PRODUCTANCHOR" href="(EmptyReference!)"><span class="actregular"><b>NETQUOTEVAR:PRODUCTNAME</b></span></a>
<br><span class="actxxsmall">NETQUOTEVAR:PRODUCTREF
NETQUOTEVAR:PRODUCTDESCRIPTION</span>
</td>
<td colspan="2" valign="TOP" align="right">
<span class="actsmall">
<b>NETQUOTEVAR:PRODUCTPRICE</b>
NETQUOTEVAR:OTHERINFOPROMPT
NETQUOTEVARATEPROMPT
</span>
<br>
<span class="actxsmall">
NETQUOTEVAR:CARTERRORXMLNETQUOTEVAR:PRODUCTQUANTITY
NETQUOTEVAR:EXTINFOLINKNETQUOTEVAR:EXTINFOBUTTON
<Actinic:ACTIONS>NETQUOTEVAR:ADDTOCARTBUTTON</Actinic:ACTIONS>
</span>
NETQUOTEVAR:TEMPLATEENDXML
</td>
</tr>
NETQUOTEVAR:PRODUCTFORMEND
NETQUOTEVAR:NEXT
<!-- ProductLine3 HTML end --></body>
Comment