Announcement

Collapse
No announcement yet.

How can I centre product price, please?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How can I centre product price, please?

    [FONT=Arial]I have centred my adapted product layout page, but I can't seem to get the price to centre too! Here is the code for it:

    <!-- ProductLine HTML begin -->
    <!-- Insert HTML for the top of the individual product -->
    NETQUOTEVAR:INCLUDE Act_ProductSeparator.html
    NETQUOTEVAR:ENDSEPARATOR
    NETQUOTEVAR:PRODUCTFORMBEGIN

    <tr>
    <td valign="TOP" align="CENTER"> NETQUOTEVAR:TEMPLATEBEGINXML
    <a name="NETQUOTEVAR:PRODUCTANCHOR"><span class="actlarge"><b>NETQUOTEVAR:PRODUCTNAME</b></span></a>
    <span class="actsmall">NETQUOTEVAR:PRODUCTREF</td></tr>
    <tr><td valign="TOP" align="CENTER"> NETQUOTEVAR:PRODUCTIMAGE<P><P>
    NETQUOTEVAR:PRODUCTDESCRIPTION&nbsp;NETQUOTEVAR:EXTINFOLINK</span>NETQUOTEVAR:EXTINFOBUTTON</td></tr>
    <tr><td><span class="actsmall" align="CENTER">NETQUOTEVAR:PRODUCTBEGINLINKNETQUOTEVAR:PRODUCTLINKTEXTNETQUOTEVAR:PRODUCTENDLINK
    NETQUOTEVAR:PRICEEXPLANATION </span>
    <b>NETQUOTEVAR:PRODUCTPRICE</b>
    <span class="actsmall">NETQUOTEVARISCOUNTINFO </span>
    <span class="actsmall">NETQUOTEVAR:OTHERINFOPROMPT </span>
    <span class="actsmall">NETQUOTEVARATEPROMPT </span>
    <span class="actsmall"> NETQUOTEVAR:CARTERRORXML </span>
    </td></tr>
    <tr><td align="CENTER" valign="top"> <span class="actsmall">
    NETQUOTEVAR:PRODUCTQUANTITY<br>
    <Actinic:ACTIONS>NETQUOTEVAR:ADDTOCARTBUTTON</Actinic:ACTIONS>
    </span>NETQUOTEVAR:TEMPLATEENDXML</td>
    </tr>
    NETQUOTEVAR:PRODUCTFORMEND
    NETQUOTEVAR:NEXT
    <!-- Insert HTML for the bottom of the individual product -->
    <!-- ProductLine HTML end -->

    I did see a post referring to Product Price, so I have tried that too:

    <!-- ProductPrice HTML begin -->
    <!-- This template is used for the product price text. -->

    <br><span class="actxsmall" align="center"><b> NETQUOTEVAR:PRICEPROMPT &nbsp;NETQUOTEVARISCOUNT_QUANTITY&nbsp;NETQUOTEVAR:COST</b></span><span class="actxxsmall">NETQUOTEVAR:TAXMESSAGE</span>

    <!-- This template is used for the product price text. -->
    <!-- ProductPrice HTML end -->

    I know a certain amount of html (self-taught) and would very much appreciate it if someone could please give me a hint as to what I have done wrong or have missed?

    Many thanks in advance
    Anne
    www.anniesxsdesigns.co.uk
    (It's uploaded, but not ready for ordering yet)

    #2
    Change this code

    NETQUOTEVAR:PRODUCTDESCRIPTION&nbsp;NETQUOTEVAR:EXTINFOLINK</span>NETQUOTEVAR:EXTINFOBUTTON</td></tr>
    <tr><td><span class="actsmall" align="CENTER">NETQUOTEVAR:PRODUCTBEGINLINKNETQUOTEVAR
    to
    NETQUOTEVAR:PRODUCTDESCRIPTION&nbsp;NETQUOTEVAR:EXTINFOLINK</span>NETQUOTEVAR:EXTINFOBUTTON</td></tr>
    <tr><td align="CENTER"><span class="actsmall">NETQUOTEVAR:PRODUCTBEGINLINKNETQUOTEVAR
    The way you have it, the items associated with the span tag are centered. What you actually want is to center the entire table cell - thus use the td tag.
    hth
    Bill
    www.egyptianwonders.co.uk
    Text directoryWorldwide Actinic(TM) shops
    BC Ness Solutions Support services, custom software
    Registered Microsoft™ Partner (ISV)
    VoIP UK: 0131 208 0605
    Located: Alexandria, EGYPT

    Comment


      #3
      Many thanks for your speedy reply, William!

      Not come across span tags until started this website. I'm learning lots on the forum!

      Much appreciated
      Anne

      Comment

      Working...
      X