Results 1 to 5 of 5
  1. #1
    Join Date
    Mar 2010
    Posts
    19
    Plugin Contributions
    0

    Default Browser Compatibility Differences

    Hello All,

    I have created a website for my company and have already gone live, even though I know I have one slight issue.

    The problem is that the shopping cart looks great in firefox and internet explorer but for some reason is padded to the right of my tpl header and footer. I've tried playing with the different css values but nothing seems to make a difference to the safari browser without skewing the firefox and IE look.

    I understand that I probably won't get many hits on this post because not everyone has Safari but I'm hoping that sombody will have encountered this problem before.

    Check out my website here Computech Systems Catalog

  2. #2
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,246
    Plugin Contributions
    58

    Default Re: Browser Compatibility Differences

    This might help....

    http://www.sitepoint.com/forums//sho...d.php?t=487888

    I know that this post is already ancient, but in case anyone is having the same problem and finding this via Google search, I would say...

    It's all about line-height. Set a line height for whatever it is you want to match padding on and that will usually kick all of the browsers into shape.

    Doron
    ~Melanie
    PRO-Webs, Inc. since 2003 :: Zen Cart Hosting :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are not conducive to a helpful community.

  3. #3
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Browser Compatibility Differences

    Styling differences especially between two standards-compliant browsers like FF and Safari often are due to different error handling. Fix the HTML errors and see what happens:
    http://validator.w3.org/check?verbos...og%2Findex.php

    (I don't have Safari, so don't know how they display differently.)

  4. #4
    Join Date
    Mar 2010
    Posts
    19
    Plugin Contributions
    0

    Default Re: Browser Compatibility Differences

    Here is a pic of the firefox that works correctly
    [SCR]http://www.computechracing.com/images/probFirefox.jpg[/SCR]

    Here is a pic of the Safari that has the problem
    [SCR]http://www.computechracing.com/images/probSafari.jpg[/SCR]
    Last edited by Kim; 11 Nov 2010 at 04:14 PM.

  5. #5
    Join Date
    Mar 2010
    Posts
    19
    Plugin Contributions
    0

    Default Re: Browser Compatibility Differences

    Issue has been fixed.

    To all that were curious. I had a padding-top of 3px applied to the spry menu bar container that was originally 2px. It was originally 2px because I designed it using safari and looked good but when I checked it out on IE I had to add an extra pixel of padding to allow the spry menu to align into my background image correctly.

    The issue was that the container that held the header was x amount tall and adding that extra pixel created an overflow and caused the shopping cart container to shift to the right of the overflow. Keeping the extra pixel to the padding and increasing the header container by 1px allowed a smooth solution.

 

 

Similar Threads

  1. Browser View differences !Seriously Confused!
    By west-net in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 10 Nov 2011, 08:59 AM
  2. Browser Compatibility
    By mac_designer in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 30 Dec 2008, 05:13 AM
  3. Browser differences: IE6 and Firefox 1.5
    By laplatakid in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 6 Apr 2007, 02:18 AM
  4. Differences in Firefox and Internet Explorer Browser
    By fontuna in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 18 Jun 2006, 08:00 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