www.webdeveloper.com
Results 1 to 3 of 3

Thread: [RESOLVED] Liquid Layout not working in IE

  1. #1
    Join Date
    Mar 2009
    Posts
    2

    resolved [RESOLVED] Liquid Layout not working in IE

    Following page: http://www.goldenwillowcavaliers.com/

    works fine in Safari, Firefox; but does not center in IE. I have validated both the XHTML and CSS at W3C.

    CSS file:

    body{
    margin:0;
    padding:0;
    background-color:#fff;
    background-image:url(../images/main_dogBG.png);
    background-repeat:no-repeat;
    background-position:bottom left;
    }

    #header {
    width:900px;
    height: 80px;
    }

    #content {
    padding:0;
    margin:2px auto;
    background-image:url(../images/contentBG.png);
    background-repeat:repeat;
    background-position:top;
    border:1px solid #333;
    width:900px;
    min-height:500px;
    }

    #nav {
    height:20px;
    background-color:#3B7E45;
    width:900px;
    }

    #nav ul {
    margin:0;
    padding:0;
    }

    #nav ul li {
    display:inline;
    }

    #nav ul li a:link {
    color:#FFF;
    font-weight:bold;
    padding: 0 30px;
    text-decoration:none;
    }
    #nav ul li a:visited {
    color:#FFF;
    font-weight:bold;
    padding: 0 30px;
    text-decoration:none;
    }
    #nav ul li a:hover {
    color:#C2C659;
    font-weight:bold;
    padding: 0 30px;
    text-decoration:none;
    }
    #nav ul li a:active {
    color:#A3433A;
    font-weight:bold;
    padding: 0 30px;
    text-decoration:none;
    }


    #main {
    margin-left:14px;
    clear:left;
    height:580px;
    }

    #footer {
    float:left;
    width:900px;
    border-top:1px solid #333;
    height:18px;
    background-color:#67B873;
    color:#333;
    font-size:9px;
    }

    #footer p {
    padding:0;
    margin:5px 0 0 5px;
    }

    #footer a {
    color:#000;
    }

  2. #2
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654
    Remove this:
    Code:
    <!--Index page-->
    Nothing comes before the DTD

  3. #3
    Join Date
    Mar 2009
    Posts
    2

    Thanks

    Darn, I knew that, thank you very much!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

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



Recent Articles