Can someone tell me why this is "broken"

Discussion in 'CSS' started by mopacfan, Dec 7, 2006.

  1. #1
    This is my first attempt at css and I'm making pretty good progress. But it's not quite right.

    http://www.mocap.com/ default2.asp

    (space added to prevent spidering by se's)

    It's 'broken' in both FF and IE6, but it's not broken by much. I'm sure it's an easy fix, but I just don't get why the header images are being wrapped in IE and why the nav buttons are getting pushed down and to the left in FF.
     
    mopacfan, Dec 7, 2006 IP
  2. bwp58

    bwp58 Peon

    Messages:
    485
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Am a hacker myself.

    Could be that IE is in quirks mode.

    Try adding something like

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

    in the header (currently no doctype defn present).

    You can read more about it here.

    http://en.wikipedia.org/wiki/Quirks_mode

    If that doesnt sort it out send me a pm & I'll have a closer look for you.
     
    bwp58, Dec 7, 2006 IP
  3. Colbyt

    Colbyt Notable Member

    Messages:
    3,224
    Likes Received:
    185
    Best Answers:
    0
    Trophy Points:
    210
    #3
    It looked the same in FF2 and IE7. Both looked fine to me. Did you get it solved?
     
    Colbyt, Dec 7, 2006 IP