Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Jan 2012
    Posts
    22
    Thanks
    0
    Thanked 0 Times in 0 Posts

    IE / Firefox Compatibility

    Hi guys im building a site,

    http://gpgrafix.x10.mx

    In Firefox it looks exactly how I want it to! But in I.E it does not.

    Can someone tell me what I'm doing wrong? Or how I can make sure this doesn't happen in the future?

    Thanks
    Ash

  • #2
    New to the CF scene
    Join Date
    Nov 2011
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    in CSS type:

    Body {

    text-align:center;

    }



    I know this is sometimes done for IE. Certain versions of IE wont center the layout without this.

  • #3
    Master Coder felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Posts
    6,633
    Thanks
    0
    Thanked 649 Times in 639 Posts
    Quote Originally Posted by FreshNuts View Post
    Certain versions of IE wont center the layout without this.
    That version was called IE5. That problem was fixed in IE6 - unless you run IE in quirks mode where everything will be laid out the IE5 way instead of the way modern browsers do it - by omitting the doctype (as appears to have been done here).
    Stephen
    Learn Modern JavaScript - http://javascriptexample.net/
    Helping others to solve their computer problem at http://www.felgall.com/

    Don't forget to start your JavaScript code with "use strict"; which makes it easier to find errors in your code.

  • #4
    New Coder
    Join Date
    Jan 2012
    Posts
    22
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Ok i added the doc type, works perfectly thank you


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •