WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Seeing 2 different things one in FF one in IE7 (9 posts)

  1. mrsmokey
    Member
    Posted 5 years ago #

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

  2. Jeremy Clark
    Moderator
    Posted 5 years ago #

    Without a link we really can't help you.

  3. mrsmokey
    Member
    Posted 5 years ago #

  4. mrsmokey
    Member
    Posted 5 years ago #

    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?

  5. mrsmokey
    Member
    Posted 5 years ago #

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

  6. iridiax
    Member
    Posted 5 years ago #

    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.

  7. mrsmokey
    Member
    Posted 5 years ago #

    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)

  8. mrsmokey
    Member
    Posted 5 years ago #

    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)

  9. mrsmokey
    Member
    Posted 5 years ago #

    Does anyone have a solution?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.