Register

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 5 of 5
  1. #1
    Senior Member
    Join Date
    Jan 2011
    Posts
    148
    Member #
    26229
    Liked
    1 times
    Hi there,

    I'm working on a site which shoould have all content centred, the only problem is that it won't in internet expolorer. Can't see any reason for thisk,k double checked the code and it works in every other browser I have been able to test. annoying.

    Here's the site www.ddvdesigns.com

    here is the CSS... If anyone can see where I am going wrong then great (iIve tried position: centre; on the container and it's made no difference...)

    Thanks in advance,
    John


    * {
    border:0px;
    margin:0px;
    padding:0px;
    }




    #container {
    width:800px;
    margin:0px auto;
    min-height: 100%;
    position: relative;

    }

    #scrollmenu {
    padding: 0px 0px 0px 0px;
    }

    body {
    height: 100%;
    background-position: center top;
    }

    .wrapper {
    height: 810px;
    }






    #footermenu ul {
    padding: 0px 0px 0px 0px;
    }

    #footermenu li {
    display:inline;
    font-family: arial;
    list-style-type:none;
    font-size: 20;

    }


    #footermenu a {
    font-family: arial;
    padding: 0px 50px 40px 0px;
    text-decoration:none;
    text-align:center;
    text-decoration:none;
    color: 010000;
    }

    #footermenu a:hover {
    color:#ffffff;
    }

    #contentpagetext {
    font-family: arial;
    font-size: 15;
    padding: 350px 0px 0px 0px;
    margin-left: 3%;
    width: 100%;
    color: 656363;
    }



    #projects {
    Padding: 68px 0px 100px 194px;
    border:0 solid #ffffff
    }

    #projectstext {
    Padding: 227px 0px 0px 5px;
    font-family: arial;
    font-size: 30;
    color:#ffffff;
    text-align: left;

    }

    #projectstext2 {
    Padding: 250px 0px 0px 25px;
    font-family: arial;
    font-size: 30;
    color:#010000;

    }


    #projectstext3 {
    Padding: 250px 0px 0px 25px;
    font-family: arial;
    font-size: 30;
    color:#ffffff;


    }


    #contactpagetext {
    Padding: 60px 400px 0px 25px;
    font-family: arial;
    font-size: 15;
    color:#010000;

    }


    #navclick {
    Padding: 490px 0px 0px 30px;
    border:0 solid #ffffff
    }

  2.  

  3. #2
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Location
    Not from USA
    Posts
    14,483
    Member #
    425
    Liked
    2783 times
    text-align: center; usually corrects this.

    If it doesn't work on #container, put it in the body.
    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
    Senior Member Ronald Roe's Avatar
    Join Date
    Mar 2011
    Location
    Oklahoma City
    Posts
    3,141
    Member #
    27197
    Liked
    959 times
    Another method:
    Code:
    #container {
    left:50%;
    margin-left:-400px;
    position: relative;
    width:800px;
    }
    Also, there is no position: centre
    TheGAME1264 likes this.
    Ron Roe
    Web Developer
    "If every app were designed using the same design template, oh wait...Bootstrap."

  5. #4
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Location
    Not from USA
    Posts
    14,483
    Member #
    425
    Liked
    2783 times
    That, too.
    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)

  6. #5
    Senior Member
    Join Date
    Jan 2011
    Posts
    148
    Member #
    26229
    Liked
    1 times
    That worked a treat, thanks... very much appreciated


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 08:02 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com