Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2009
    Posts
    19
    Plugin Contributions
    0

    Default Images not aligning

    Hi

    I hope there is an easy fix for this, I'm really what not sure what the cause of the problem is but the images on my site don't seem to be aligning. I'd rather get this solved before I plod on with the design element.

    Site in question can be found here

    The width has been set to 33% ( I haven't edited the images per row). Images are all set to 120x150px in admin. I'm not aware of changing any specific file that might change this.

    Is there an easy fix or am I needing to start over.

    Thanks


    dave3009

  2. #2
    Join Date
    Nov 2009
    Posts
    19
    Plugin Contributions
    0

    Default Re: Images not aligning

    Seems as though despite the width of the divs being 33% there is some additional padding somewhere.

    Code:
    <div class="centerBoxWrapper" id="whatsNew">
    <h2 class="centerBoxHeading">New Products For February</h2>
        <div class="centerBoxContentsNew centeredContent back" style="width: 33%;"><a href="http://store.glitz-prom.com/index.php?main_page=product_info&amp;cPath=0&amp;products_id=419"><img src="images/J9171.jpg" alt="J9171" title=" J9171 " width="80" height="120"></a><br><a href="http://store.glitz-prom.com/index.php?main_page=product_info&amp;cPath=0&amp;products_id=419">J9171</a><br>£290.00</div>
        <div class="centerBoxContentsNew centeredContent back" style="width: 33%;"><a href="http://store.glitz-prom.com/index.php?main_page=product_info&amp;cPath=0&amp;products_id=418"><img src="images/J9169.jpg" alt="J9169" title=" J9169 " width="80" height="120"></a><br><a href="http://store.glitz-prom.com/index.php?main_page=product_info&amp;cPath=0&amp;products_id=418">J9169</a><br>£290.00</div>
        <div class="centerBoxContentsNew centeredContent back" style="width: 33%;"><a href="http://store.glitz-prom.com/index.php?main_page=product_info&amp;cPath=0&amp;products_id=417"><img src="images/J9167.jpg" alt="J9167" title=" J9167 " width="80" height="120"></a><br><a href="http://store.glitz-prom.com/index.php?main_page=product_info&amp;cPath=0&amp;products_id=417">J9167</a><br>£310.00</div>
    <br class="clearBoth">
    
        <div class="centerBoxContentsNew centeredContent back" style="width: 33%;"><a href="http://store.glitz-prom.com/index.php?main_page=product_info&amp;cPath=0&amp;products_id=416"><img src="images/J9165.jpg" alt="J9165" title=" J9165 " width="80" height="120"></a><br><a href="http://store.glitz-prom.com/index.php?main_page=product_info&amp;cPath=0&amp;products_id=416">J9165</a><br>£255.00</div>
        <div class="centerBoxContentsNew centeredContent back" style="width: 33%;"><a href="http://store.glitz-prom.com/index.php?main_page=product_info&amp;cPath=0&amp;products_id=415"><img src="images/J9163.jpg" alt="J9163" title=" J9163 " width="80" height="120"></a><br><a href="http://store.glitz-prom.com/index.php?main_page=product_info&amp;cPath=0&amp;products_id=415">J9163</a><br>£305.00</div>
        <div class="centerBoxContentsNew centeredContent back" style="width: 33%;"><a href="http://store.glitz-prom.com/index.php?main_page=product_info&amp;cPath=0&amp;products_id=414"><img src="images/J9162.jpg" alt="J9162" title=" J9162 " width="80" height="120"></a><br><a href="http://store.glitz-prom.com/index.php?main_page=product_info&amp;cPath=0&amp;products_id=414">J9162</a><br>£270.00</div>
    <br class="clearBoth">
    
        <div class="centerBoxContentsNew centeredContent back" style="width: 33%;"><a href="http://store.glitz-prom.com/index.php?main_page=product_info&amp;cPath=0&amp;products_id=413"><img src="images/J9158.jpg" alt="J9158" title=" J9158 " width="80" height="120"></a><br><a href="http://store.glitz-prom.com/index.php?main_page=product_info&amp;cPath=0&amp;products_id=413">J9158</a><br>£330.00</div>
    
        <div class="centerBoxContentsNew centeredContent back" style="width: 33%;"><a href="http://store.glitz-prom.com/index.php?main_page=product_info&amp;cPath=0&amp;products_id=412"><img src="images/J9157.jpg" alt="J9157" title=" J9157 " width="80" height="120"></a><br><a href="http://store.glitz-prom.com/index.php?main_page=product_info&amp;cPath=0&amp;products_id=412">J9157</a><br>£290.00</div>
        <div class="centerBoxContentsNew centeredContent back" style="width: 33%;"><a href="http://store.glitz-prom.com/index.php?main_page=product_info&amp;cPath=0&amp;products_id=411"><img src="images/J9156.jpg" alt="J9156" title=" J9156 " width="80" height="120"></a><br><a href="http://store.glitz-prom.com/index.php?main_page=product_info&amp;cPath=0&amp;products_id=411">J9156</a><br>£315.00</div>
    <br class="clearBoth">
     
    </div>
    Covers a single row of what should be 3 images. Is it likely that any padding in one of - centerBoxContentsNew centeredContent back - might be causing this misalignment.

    Actually having just gone for it it seems that the padding was causing the issue. Must try harder next time, thanks for looking
    Last edited by dave3009; 4 Feb 2010 at 08:27 PM.

 

 

Similar Threads

  1. Aligning Product Images
    By Mr.Pea in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 19 Aug 2011, 07:33 AM
  2. Aligning background images
    By Nettie H in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 18 Nov 2009, 07:29 AM
  3. aligning swatch images
    By dscott1966 in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 6 Oct 2008, 06:12 PM
  4. aligning images
    By dvdd127 in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 28 Jul 2008, 12:28 PM
  5. aligning additional images
    By tarynhipp in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 13 May 2008, 04:15 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg