Thread: Firefox vs IE

Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2006
    Location
    Brisbane, Australia
    Posts
    5
    Plugin Contributions
    0

    Default Firefox vs IE

    Help please!

    Firstly thanks to Kuroi for reviewing my site and pointing out that it looks not so good in firefox! and for saying that my site looks nice!

    so what I have done to try and find the problem is to change some background colours.... url is http://beadmobile.com.au/

    and this is what I have in my stylesheet (based on default_template)

    ....

    #mainWrapper {
    background-color: #DDDDDD; (that's light grey background)
    text-align: center;
    width: 60%;
    vertical-align: top;
    border: 1px solid #663366;
    }

    AND

    #navMainWrapper, #navSuppWrapper, #navCatTabsWrapper {
    margin: 0em;
    background-color: #FFEAFF; (that's the pale pink nav bars)
    padding: 0.2em 0.2em;
    font-weight: bold;
    color: #000000;
    height: 1%;
    width: 100%;
    }

    AND

    #navColumnOne, #navColumnTwo {
    background-color: #999999; (that's the dark grey vertical bars)
    }

    ....

    I can't for the life of me figure why IE and firefox look different. And neither of them actually look exactly like I would expect!

    any help would be greatly appreciated!

    Oh, and Kuroi, I checked my css for that doubled float margin bug you mentioned, but it seems to me you would have to have 'float' and 'margin' on the same thing, and i can't seem to find where it might be a problem. any ideas?

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

    Default Re: Firefox vs IE

    Quote Originally Posted by beadmobile.com.au
    I checked my css for that doubled float margin bug you mentioned, but it seems to me you would have to have 'float' and 'margin' on the same thing, and i can't seem to find where it might be a problem. any ideas?
    Sometimes floats sneak in via classes so the float and margin may not always appear together in the CSS. However I have an laternative theory about your site.

    The bulk of the site is contained in a layout table with one row and three cells - one each for the left, center and right columns. Here is the HTML generated for the right column (the left column cell has the same structure.
    <td id="navColumnTwo" class="columnRight" style="width: 0">
    <div id="navColumnTwoWrapper" style="width: 10px"></div></td>
    You've probably achieved this through setting the widths in the Admin > Configure section. But what this does is firstly tell the browsers that the cells have no width, but then force them open to a width of 10px. This shouldn't really happen and I suspect that the browsers are coping with it in different ways, i.e. Firefox trusts the cell widths that you have given it to calculate the table width, whilst Internet Explorer looks at the actual result.
    Kuroi Web Design and Development | Twitter

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

 

 

Similar Threads

  1. firefox
    By alwinch in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 13 Oct 2008, 07:40 AM
  2. Firefox?
    By thecatinthetree in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 19 Oct 2007, 12:52 AM
  3. Firefox vs. IE
    By lynsfashions in forum General Questions
    Replies: 17
    Last Post: 6 Jun 2007, 12:32 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR