Forums

[resolved] Header looks bad in IE7. Works fine in IE8, FF, Chr, Saf. (screenshot) (2 posts)

  1. mtonumaa
    Member
    Posted 2 years ago #

    My WP site looks bad in IE7, fine in IE8, Firefox, Chrome, Safari.

    The header logos move below the dropdown menu.

    Screenshot: http://img168.imageshack.us/img168/4277/image001xc.jpg
    Link to site: http://alturl.com/tvrc

    My CSS:
    #logo
    {
    position:absolute;
    left:50%;
    width:204px;
    margin-top:23px;
    margin-left:-477px;
    }

    This is probably bad css on my part..

  2. alchymyth
    The Sweeper
    Posted 2 years ago #

    you have DOCTYPE declaration twice in header.php

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>BCS Itera</title>
    <link href="bcs/theme/style.css" rel="stylesheet" type="text/css" />
    </head>
    
    <body>
    <p>
      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="ee-EE">
    
    <head profile="http://gmpg.org/xfn/11">
    <meta http-eq...

    clean that up - delete the duplicate code.

    this and other things contribute to the amount of validation errors your site has: http://validator.w3.org/check?uri=http%3A%2F%2Falturl.com%2Ftvrc&charset=%28detect+automatically%29&doctype=Inline&group=0

    start by fixing these errors, and see if the display improves.

Topic Closed

This topic has been closed to new replies.

About this Topic