Valid XHTML Transitional Page: Renders correctly in IE, not Firefox

Discussion in 'HTML & Website Design' started by switto, Jun 29, 2008.

  1. #1
    Ok, so i'm trying to finish up this web design, but I have been stuck on this same problem for quite a while now:

    This page:
    http://h3vstudios.com/uploadtest/newlayout2.html

    In IE, the navbar shows normally, but in Firefox, it displays over to the right 40 pixels. Does anyone know what could be causing this?

    IE render:
    [​IMG]
    Firefox render:
    [​IMG]

    What could be causing this?

    thanks in advance,
    -swittp
     
    switto, Jun 29, 2008 IP
  2. fafala77

    fafala77 Peon

    Messages:
    29
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Firefox right brained and IE left brained!!! ahaha
     
    fafala77, Jun 29, 2008 IP
  3. Enmar

    Enmar Active Member

    Messages:
    177
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    60
    #3
    Edit: Nevermind, I'm stupid.
     
    Enmar, Jun 29, 2008 IP
  4. blurredfringe

    blurredfringe Member

    Messages:
    77
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    48
    #4
    i guess it has something to do with the padding assigned for the navbar class which is the list item container for the menu. you might adjust the paddings using the !important property for ie and ff.


    you might also want to check some typo error in your styles:

    .navbar {
    background-image:url(http://h3vstudios.com/uploadtest/templates/beta/img/navbar.png);
    backgroung-repeat: repeat-x; no-repeat;
    height: 34px;
    width: 905px;
    padding: 0px;
    }
     
    blurredfringe, Jun 30, 2008 IP
  5. switto

    switto Peon

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Thanks, it ended up being the navbar ul style. I forgot to set its padding to 0.

    cheers,
    -s
     
    switto, Jun 30, 2008 IP