Results 1 to 2 of 2

Thread: Internet Explorer Problem

  1. #1
    Join Date
    Jul 2009
    Posts
    20

    Internet Explorer Problem

    http://www.speedyupload.net

    The box with the upload and the content isn't in the center in IE, but it is in Chrome and Firefox.

    How do I make it center in IE?

  2. #2
    Add "text-align: center;" to the body tag in the CSS.

    Also in your CSS, some elements (such as the body tag) are repeated.

    Code:
    @charset "utf-8";
    /* CSS Document */
    body {
     background-color:#E2E2E2;
     background-image:url(images/bg.png);
     background-attachment:fixed;
     background-repeat:repeat-x;
     text-align: center;
     }
    .content {
     background:url(images/content.png);
     height:285px;
     margin-left:auto;
     margin-right:auto;
     width:560px;
    }
    .content center p {
    	color: #666;
    }
    a:link {
    	text-decoration: underline;
    }
    a:visited {
    	text-decoration: underline;
    }
    a:hover {
    	text-decoration: none;
    }
    a:active {
    	text-decoration: underline;
    }
    body {
    	background-color:#E2E2E2;
    	background-image:url(images/bg.png);
    	background-attachment:fixed;
    	background-repeat:repeat-x;
    }
    .content {
    	background:url(images/content.png);
    	height:285px;
    	margin-left:auto;
    	margin-right:auto;
    	width:560px;
    }
    .content center {
    	color: #333;
    }

Similar Threads

  1. Internet Explorer Problem position absolute with margins
    By Caldwell5161 in forum Web Design, HTML Reference and CSS
    Replies: 0
    Last Post: 03 Aug 2009, 04:58 PM
  2. Internet Explorer Page Cannot Be Displayed Problem
    By y2ksrs in forum General Questions
    Replies: 0
    Last Post: 16 Sep 2005, 04:13 AM

Posting Permissions

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