Announcement

Collapse
No announcement yet.

Problems with aligning best seller list

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

    Problems with aligning best seller list

    I noticed on my 'Best Sellers' and 'Newest Products' that because some of my product names wrapped onto two lines the second line started inline with the number rather than the text.

    I have therefore added a <div> tag to correct this. Now from a layout point a view this works fine. However, now the only links that work now are those that wrap onto a second line, those on a single line do not.

    You can see that I mean at www.viteyes.co.uk

    The code I am now using is:
    <actinic:variable name="ListIndex" />.<DIV style="margin-left:12px; margin-top:-14px;"><a href="<actinic:variable name="SearchCGIURL" />?PRODREF=<actinic:variable Name="ProductID" />&amp;NOLOGIN=1<actinic:block if="%3cactinic%3avariable%20name%3d%22IsHostMode%22%20%2f%3e">&amp;SHOP=<actinic:variable name="ShopID" /></actinic:block>"><Actinic:Variable Name="ProductName"/></a></DIV>
    <!-- <actinic:variable name="ProductImageLayout" /> -->
    <actinic:block if="%3cactinic%3avariable%20name%3d%22IsProductReferenceVisible%22%20%2f%3e" >
    <!-- (Ref: <actinic:variable Name="ProductReference" />) -->
    </actinic:block>
    <!-- <actinic:variable name="PriceListRetail" /> -->

    The only bits I have added are the <DIV style="margin-left:12px; margin-top:-14px;"> 7 </DIV>

    James
    www.butterflies-healthcare.co.uk
    www.viteyes.co.uk - vitamins for macular degeneration
    www.natorigin.co.uk - natural/organic cosmetics and skin care for sensitive skin & eyes
    www.butterflies-eyecare.co.uk - eye drops, vitamins and other eye care products
    www.prescription-swimming-goggles.co.uk - optical and prescription swimming goggles

    #2
    Hi James,

    ALL the links are working for me on the URL you've given!!

    David
    -----------------------------
    www.synchronisedwebdesign.com
    Location: North Yorkshire UK

    Comment


      #3
      It is only the links in the 'Best Sellers' and 'Newest Products' sections that do not work.h

      Ah on further investigation - it works in firefox not IE!!

      James
      www.butterflies-healthcare.co.uk
      www.viteyes.co.uk - vitamins for macular degeneration
      www.natorigin.co.uk - natural/organic cosmetics and skin care for sensitive skin & eyes
      www.butterflies-eyecare.co.uk - eye drops, vitamins and other eye care products
      www.prescription-swimming-goggles.co.uk - optical and prescription swimming goggles

      Comment


        #4
        Could it be the negative top margin causing the issue in IE? IF you are using this to bring the <a> inline with LISTINDEX try using a <span> rather than the <div>

        You would also be better creating a .class in the stylesheet rather than inline CSS ... that way you can sort the issue and upload a single file rather than having to republish the whole site.


        Bikster
        SellerDeck Designs and Responsive Themes

        Comment


          #5
          Hi James,

          Looks like an errant bit of code in there! See the attached png.
          Attached Files
          -----------------------------
          www.synchronisedwebdesign.com
          Location: North Yorkshire UK

          Comment


            #6
            All sorted now guys - thanks

            James
            www.butterflies-healthcare.co.uk
            www.viteyes.co.uk - vitamins for macular degeneration
            www.natorigin.co.uk - natural/organic cosmetics and skin care for sensitive skin & eyes
            www.butterflies-eyecare.co.uk - eye drops, vitamins and other eye care products
            www.prescription-swimming-goggles.co.uk - optical and prescription swimming goggles

            Comment


              #7
              I see you ditched the CSS and went with additional table cells in the end.


              Bikster
              SellerDeck Designs and Responsive Themes

              Comment


                #8
                Originally posted by jont
                I see you ditched the CSS and went with additional table cells in the end.
                It may be messy, but it works!!

                James
                www.butterflies-healthcare.co.uk
                www.viteyes.co.uk - vitamins for macular degeneration
                www.natorigin.co.uk - natural/organic cosmetics and skin care for sensitive skin & eyes
                www.butterflies-eyecare.co.uk - eye drops, vitamins and other eye care products
                www.prescription-swimming-goggles.co.uk - optical and prescription swimming goggles

                Comment

                Working...
                X