If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Jun 2012
    Member #

    I am working on a site and the am having compatibility issues with IE 8 and 7. The site is viewable here:

    The 'content' div is supposed to be centered like the following divs but is floating left. The site works properly in Chrome, Firefox and Safari.

    I cannot find a solution! Any help on this would be greatly appreciated.

    Thanks in advance!



  3. #2
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Not from USA
    Member #
    2783 times
    It's not floating, and in this case, there really isn't a right or a wrong interpretation of what's going on. It just so happened that IE didn't do what you wanted, but in this case, an argument can be made either way. I'm not a fan of IE (or any browser in particular), but this isn't on them.

    This is in your fluid.css file.
    #content {    clear: both;
    float: none;
    margin-left: 0;
    width: 100%;
    display: block; }
    Take out the margin-left and you'll be fine. Might want to remove the width while you're at it. As a general rule of thumb, it's a good idea to keep all of your CSS rules associated with an id, class or element in one file and one declaration if you can (this isn't always possible, but it's a good thing to strive for). That way, you don't have issues of conflict such as these.
    jmanion likes this.
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)

  4. #3
    Junior Member
    Join Date
    Jun 2012
    Member #
    Perfect, thank you very much sir!

Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
All times are GMT -6. The time now is 07:07 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2020 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: