BIG trouble with FF and IE

Discussion in 'CSS' started by Pietercornelis, Jan 17, 2007.

  1. #1
    Hey all,

    My site, All-History.com, has big differences in IE (with all divs under one another) and FF (header at top, footer at bottom, and menu, content and rightcolumn next to one another).
    Can someone help me? My css file is here.
    Thanks!
     
    Pietercornelis, Jan 17, 2007 IP
  2. buzza_gts

    buzza_gts Active Member

    Messages:
    199
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    58
    #2
    I had a look at your source code and noticed there are head tags inside your body tags.

    The structure of your document needs to go:

    <html>
    <head>
    Script and style here.
    </head>
    <body>
    Content here.
    </body>
    </html>
    Code (markup):
    There should only be one set of both <head> and <body> tags.

    I think your best bet would be to strip out all the javascript crap so you are left with a basic site structure and build it back up again correctly.
     
    buzza_gts, Jan 17, 2007 IP
    Pietercornelis likes this.
  3. Pietercornelis

    Pietercornelis Guest

    Messages:
    631
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Aha! Thank you! I use those <head> tags to call upon the css for my menu and other things which I then include with the php include command. Would it be better to put this css in the <body> part of the menu itself?
     
    Pietercornelis, Jan 18, 2007 IP
  4. buzza_gts

    buzza_gts Active Member

    Messages:
    199
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    58
    #4
    Without seeing exactly what is in your PHP include files it seems your are using the <head> tag when it is not required.

    Have you seen this before: http://www.glish.com/css/7.asp I used these layouts when I was beginning css to help get an understanding of how everything works.
     
    buzza_gts, Jan 18, 2007 IP