Results 1 to 7 of 7
  1. #1
    Join Date
    May 2010
    Location
    London UK
    Posts
    134
    Plugin Contributions
    0

    Default Cross browser issues

    I have modified my site so that the sub categories show little boxes with an image and the link centred, this has worked fine in IE, but in firefox the images are off centre.

    Normally it seems to be firefox that works and IE that causes the problems, but no matter what i do, i can seem to get them to align in the centre, any suggestions will be appreciated.

    here is the link: http://79.170.43.200/pestcontrolonli...=index&cPath=1

    Thanks

    Lee

  2. #2
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: Cross browser issues

    Your problem may be related to the fact that you have SEVERAL stylesheets loading up - each later one over-riding previous ones.

    Zencart is configured to recognise and apply, ALL available stylesheets, in chronological order.

    You have:

    stylesheet.css
    (which is then being overridden by):
    stylesheet1.css
    (which is then being overridden by):
    stylesheet_originalish.css

    If you MODIFY a stylesheet from an existing one, then the existing one must either:-
    be REMOVED (deleted)
    be RENAMED with an extension that is NOT .css

    eg:
    stylesheet1.BAK
    stylesheet_originalish.BAK
    20 years a Zencart User

  3. #3
    Join Date
    May 2010
    Location
    London UK
    Posts
    134
    Plugin Contributions
    0

    Default Re: Cross browser issues

    OK, Thanks, that would explain another issue i had, i assumed that if it was renamed it would be ignored.

    THanks for that

  4. #4
    Join Date
    May 2010
    Location
    London UK
    Posts
    134
    Plugin Contributions
    0

    Default Re: Cross browser issues

    OK, that was obviously the problem, because i have deleted all of the other style sheets and now, they are both off centre lol, but at least i know what the problem was thanks.

  5. #5
    Join Date
    May 2010
    Location
    London UK
    Posts
    134
    Plugin Contributions
    0

    Default Re: Cross browser issues

    Ok,

    I removed all of the other style sheets, however firefox still doesn't want to centre the images, i have trwled through the style sheet and just can not make it align, does anybody have any ideas,

    Thanks

    Lee

  6. #6
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: Cross browser issues

    Try this: (then test in FF and MSIE)

    .categoryListBoxContents img {margin:auto;}
    20 years a Zencart User

  7. #7
    Join Date
    May 2010
    Location
    London UK
    Posts
    134
    Plugin Contributions
    0

    Default Re: Cross browser issues

    Worked perfectly, thanks

 

 

Similar Threads

  1. cross browser issues - gradient problem in IE
    By ben harry in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 28 Aug 2013, 05:24 PM
  2. Cross Browser Issues with Attributes
    By leest35 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 16 Sep 2010, 12:29 PM
  3. Cross-Browser Alignment Issues
    By uruharacosplay in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 24 Jun 2010, 10:24 PM
  4. Cross browser issues
    By beyre in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 1 Jun 2009, 09:21 PM
  5. Cross-Browser issues :(
    By wondergirl in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 25 Mar 2007, 04:22 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