Support » Fixing WordPress » Seeing 2 different things one in FF one in IE7

  • Resolved mrsmokey

    (@mrsmokey)


    while using FF browser everything is fine.
    while using IE7 browser everything on the pages are centered.
    Any suggestions?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Jeremy Clark

    (@jeremyclark13)

    Member

    Without a link we really can’t help you.

    I ran WC3 and I have 46 errors but don’t know how to fix them
    or where to fix them.Are the errors what is causing my browser problem?

    Just checked both safari and opera and both are fine.IE7 is my only problem

    To see where your code errors are in W3C, select the Show Source option and then click Revalidate. Now, if you click on the line number of the error, it will take you to that spot in your code.

    You are using the center tag (bad) and some of these tags are not closed (even worse). Look in your text widgets and theme files and remove all <center> and </center> tags.

    Also remove this from your theme’s header.php:

    <STYLE type=text/css>#header {
    BACKGROUND: url(http://dailyforexupdates.com/wp-content/themes/nicheidea/images/header.jpg) no-repeat
    }
    </STYLE>

    And add the following to your theme’s style.css:

    #header {
    background: url(images/header.jpg) no-repeat top;
    }

    WordPress uses XHTML, so when you get code to add to your site, make sure that you get the XHTML version and not the error-generating HTML 4 version.

    when I took out all the center tags and fixed everything that was an error acording to WC3 I could no longer read my blog..everything was overwriting, images over text and such..As far as the header.php I can not find that code in my template..Also I have 5 different style.css

    Styles
    ORGstyle.css (ORGstyle.css)
    Stylesheet (style.css)
    styledropdown.css (styledropdown.css)
    stylemagazine.css (stylemagazine.css)
    styleoriginal.css (styleoriginal.css)

    at the bottom are my other
    header files
    Not sure if this will help
    this here is the headerphp.
    Header (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 profile=”http://gmpg.org/xfn/11″>
    <meta http-equiv=”Content-Type” content=”<?php bloginfo(‘html_type’); ?>; charset=<?php bloginfo(‘charset’); ?>” />
    <title><?php bloginfo(‘name’); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?></title>
    <meta name=”generator” content=”WordPress <?php bloginfo(‘version’); ?>” /> <!– leave this for stats –>

    <link rel=”stylesheet” href=”<?php bloginfo(‘stylesheet_url’); ?>” type=”text/css” media=”screen” />
    <link rel=”alternate” type=”application/rss+xml” title=”RSS 2.0″ href=”<?php bloginfo(‘rss2_url’); ?>” />
    <link rel=”alternate” type=”text/xml” title=”RSS .92″ href=”<?php bloginfo(‘rss_url’); ?>” />
    <link rel=”alternate” type=”application/atom+xml” title=”Atom 0.3″ href=”<?php bloginfo(‘atom_url’); ?>” />
    <link rel=”pingback” href=”<?php bloginfo(‘pingback_url’); ?>” />

    <?php wp_get_archives(‘type=monthly&format=link’); ?>
    <?php wp_head(); ?>
    </head>

    <body>

    <div id=”container”>

    <div id=”header”>
    <h1>/”><?php bloginfo(‘name’); ?></h1>
    <h2><?php bloginfo(‘description’); ?></h2>

    </div>

    <div id=”menu”>

      <li class=”<?php if (is_home()) { ?>current_page_item<?php } else { ?>page_item<?php } ?>”>” title=”Home”>Home
      <?php wp_list_pages(‘title_li=&depth=1’); ?>

    </div>

    Header (header.php)
    headerdropdown.php (headerdropdown.php)
    headermagazine.php (headermagazine.php)
    headeroriginal.php (headeroriginal.php)
    ORGheader.php (ORGheader.php)

    Does anyone have a solution?

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Seeing 2 different things one in FF one in IE7’ is closed to new replies.