Close

Results 1 to 7 of 7

Thread: IE layout

  1. #1
    DF VIP Member n00bz0rd2's Avatar
    Join Date
    Jan 2009
    Location
    UK
    Posts
    841
    Thanks
    112
    Thanked:        39
    Karma Level
    291

    Default IE layout

    I'm close to finishing my site, but ran into a bit of a snag.
    In Firefox and Chrome, the site is how I want it, but in IE7 the navigation and footer are not aligned properly. I had a little tinker but to no avail. I thought it might be that I havn't cleared my floats but I don't how to.

    http://www.purgatoryarts.com/test.php

  2. #2
    DF VIP Member n00bz0rd2's Avatar
    Join Date
    Jan 2009
    Location
    UK
    Posts
    841
    Thanks
    112
    Thanked:        39
    Karma Level
    291

    Default Re: IE layout

    Can anybody help out? I've noticed that it works fine in IE8 but still not IE7.

  3. #3
    DF VIP Member Eazi's Avatar
    Join Date
    May 2008
    Location
    Wirral
    Posts
    533
    Thanks
    9
    Thanked:        9
    Karma Level
    237

    Default Re: IE layout

    The DOM model is all wrong.

    If you view the source of the rendered page you have </body></html> followed by a new set of headers on line 41 and then again on line 64 ???
    Nil Illigimtus Carbarundum


  4. #4
    DF VIP Member n00bz0rd2's Avatar
    Join Date
    Jan 2009
    Location
    UK
    Posts
    841
    Thanks
    112
    Thanked:        39
    Karma Level
    291

    Default Re: IE layout

    Quote Originally Posted by h00ker View Post
    The DOM model is all wrong.

    If you view the source of the rendered page you have </body></html> followed by a new set of headers on line 41 and then again on line 64 ???
    Thats because of the php include for the footer and navigation. If I open the page in Dreamweaver everything is ok.

  5. #5
    DF VIP Member big man's Avatar
    Join Date
    Jul 2002
    Location
    The big smoke
    Posts
    2,824
    Thanks
    8
    Thanked:        0
    Karma Level
    445

    Default Re: IE layout

    Quote Originally Posted by n00bz0rd2 View Post
    Thats because of the php include for the footer and navigation. If I open the page in Dreamweaver everything is ok.
    that may be, but nobody else is going to be viewing it in dreamweaver!

    get your dom model sorted and then have another go

    take a look here for some more help

    http://validator.w3.org/check?uri=ht...Inline&group=0
    I am a loud man with a very large hat. This means I am in charge

    Never argue with an idiot. They will bring you down to their level, then beat you with experience.

  6. #6
    DF VIP Member n00bz0rd2's Avatar
    Join Date
    Jan 2009
    Location
    UK
    Posts
    841
    Thanks
    112
    Thanked:        39
    Karma Level
    291

    Default Re: IE layout

    Ok, I've fixed all the errors shown by the validator. Still hasn't fixed the problem.

  7. #7
    DF VIP Member big man's Avatar
    Join Date
    Jul 2002
    Location
    The big smoke
    Posts
    2,824
    Thanks
    8
    Thanked:        0
    Karma Level
    445

    Default Re: IE layout

    It looks like the floats and the margins are out
    left nav, recent news and footer all require a float:left
    leftnav and footer need their margin-left reset to 0

    no idea what that does to the layout in any other browser

    and also, even though you haven't asked about this, get rid of the massive images for buttons. you should be using links and applying css styling on buttons that basic

    if you want some inspiration as to styling a site, take a look at http://www.csszengarden.com/
    every page on there has identical markup, only the css and image files differ
    I am a loud man with a very large hat. This means I am in charge

    Never argue with an idiot. They will bring you down to their level, then beat you with experience.

Similar Threads

  1. DF Layout Stolen??
    By Lighty in forum The Dog and Duck
    Replies: 16
    Last Post: 28th August 2005, 02:32 AM
  2. 2000 box with different layout
    By satzzz in forum Digital & Cable TV
    Replies: 6
    Last Post: 20th September 2004, 07:39 PM
  3. Mozilla Layout Problem
    By brumbino in forum Forum Bug & Error Reports
    Replies: 5
    Last Post: 28th July 2004, 09:22 PM
  4. forum layout
    By jcrabb in forum Forum Suggestions & Feedback
    Replies: 0
    Last Post: 8th December 2002, 03:00 AM

Social Networking 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
  •