Results 1 to 4 of 4
  1. #1
    Join Date
    Jan 2008
    Posts
    7
    Plugin Contributions
    0

    Default IE issues with alignment

    I have customized the classic template and made all the changes I need to. Everything looks good in Firefox, but when I go to IE, the images are not aligning properly on a couple of pages. For example, the first page with images at the bottom (cirlces) should all be in a row.

    The site is at http://www.anneli.tildeshop.com/zencart

    Any advice would be soooo appreciated!

  2. #2
    Join Date
    Jun 2004
    Posts
    113
    Plugin Contributions
    0

    Default Re: IE issues with alignment

    IE is probably adding some padding (or margin, I forget) ... a common CSS issue with IE. And, since you have (for your example) 3 items set to 33% width each, the total width is wider than your container forcing it to wrap around.

  3. #3
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: IE issues with alignment

    .centerColumn {float:left; width:670px}

    This is happening because the two browser engines are interpreting the relationships between the different elements on your page differently. FF is calculating the 33% relative to the indexCategories div but IE is calculating it relative to the surrounding table cell.

    The cause of this discrepancy is most likely some complex and subtle stuff concerning what's in the document flow (the categoryListBoxContents are out as they are floated. Most of the rest is in).

    You can force them to work consistently by adding a float to the .centerColumn class and giving it an explicit width (665px seems to work nicely).

    But do check that it doesn't mess up other pages (if so you may prefer to apply the changes to the #indexCategories div instead) and works in IE6 (I tested it in IE7).
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  4. #4
    Join Date
    Dec 2007
    Posts
    11
    Plugin Contributions
    0

    Default Re: IE issues with alignment

    Thank you for your help in this! I added this to my stylesheet and my sites have never looked so perfectly aligned. :) Thank you!

 

 

Similar Threads

  1. v154 Alignment Issues
    By MCS_Computers in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 25 Jun 2015, 04:12 PM
  2. Help with alignment issues?
    By uruharacosplay in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 27 Jul 2011, 09:13 PM
  3. Alignment issues with cor-left.gif
    By curbsidestudiosNET in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 23 Jun 2010, 09:46 PM
  4. Alignment issues with the Product Page
    By limelites in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 30 Jan 2009, 07:07 PM
  5. Alignment Issues
    By ThePatch in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 24 May 2007, 02:33 AM

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