Announcement

Collapse
No announcement yet.

Closing up line gaps in a product layout

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

    Closing up line gaps in a product layout

    How do I close up the gap between the product price and the quantity box in my layout please.


    http://www.proadventure.co.uk/acatalog/Growers_Cup.html

    Pete

    #2
    Hi Peter,

    The HTML source for the 'Growers Cup - Honduras Speciality Coffee' product on that page looks like the following (for clarity, I removed some redundant White space displayed on my IE browser):

    Code:
    <a name="a17316220161179"><b>Growers Cup - Honduras Speciality Coffee </b></a>
    <br /
    <a href="info_17316220161179.html"><img src="more-info-btn.gif" border="0" /></a>  
    <br />
    <!-- The code below is automatically enabled/disabled by js depending on RTS -->
    <b>
       <Actinic:PRICES PROD_REF="17316220161179" RETAIL_PRICE_PROMPT="Price:">£2.50        
       <p></p>
       </Actinic:PRICES>
    </b>
    <br />
       <!-- This code is used when the quantity box is visible to all customers -->
    <br />
    <span class="actrequired">Quantity:</span>&nbsp;
    <input type="text" name="Q_17316220161179" size="4" value="1" />
    In this HTML code, between the price £2.50 and the Quantity:

    Code:
    <br />
       <!-- This code is used when the quantity box is visible to all customers -->
    <br />
    there are two Line Break tags (<br />), resulting in two blank lines.

    You could try removing one of these tags in the relevant layout code, and hence one blank line.

    However, depending on an Actinic option (don't know which one), some HTML code may be inserted below the comment line ('This code is used when ...'), and the removed Line Break may have an impact on the layout for that code.

    Note: The second line in the full code quoted at the start of my post:
    Code:
    <br /
    appears to be an invalid tag, and should be:
    Code:
    <br />
    But this is a separate issue.

    Hope this helps,
    James

    Comment

    Working...
    X