• Hi there…

    I just tested m website on IE and noticed that the page layout had gone wrong. So I went back to my default browser (Firefox) where I noticed that my footer is out of line.

    The only thing that I have changed recently is the wp-list pages in the header, therefore it may be this that is wrong. If I post the contents of Header.php, would someone be able to tell me what is wrong…

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
    <meta http-equiv="content-type" content="text/html; charset=<?php bloginfo('charset'); ?>" />
    <meta name="description" content="<?php bloginfo('name'); ?> - <?php bloginfo('description'); ?>" />
    <meta name="keywords" content="" />
    <link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_url'); ?>" />
    <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'); ?>" />
    <title><?php bloginfo('name'); wp_title(); ?></title>
    <?php wp_head(); ?>
    </head>
    <body>
    <div id="wrap">
    <div id="header">
    <h1><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></h1>
    <strong><?php bloginfo('description'); ?></strong>
    </div>
    <img id="frontphoto" src="<?php bloginfo('template_directory'); ?>/img/front.jpg" width="760" height="175" alt="" />
    <div id="leftside">
    <?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar('Main Sidebar') ) : else : ?>
    <h2 class="hide">Main menu:</h2>
    <ul class="page">
    <?php if (is_page()) { $highlight = "page_item"; } else {$highlight = "page_item current_page_item"; } ?>
    <li class="<?php echo $highlight; ?>"><a href="<?php bloginfo('url'); ?>">Home</a></li>
    <?php wp_list_pages('sort_column=menu_order&depth=1&title_li=&exclude=13'); ?>
    </ul>
    <?php endif; ?>
    </div>

    My website is forund at http://www.tomdimmock.co.uk

    Many thanks in anticipation,
    Tom

Viewing 9 replies - 1 through 9 (of 9 total)
  • might try validating it at w3c.org and seeing where the html is wrong..

    you validate with w3.org, not w3c.org, and that is the link i provided him…there are several errors that need to be corrected, which might fix his/her problem….

    Thread Starter tomdimmock

    (@tomdimmock)

    Hmmm….There are a few errors. I’ll try and fix them now!

    Thread Starter tomdimmock

    (@tomdimmock)

    Couldn’t be bothered to fix them earlier. I’ll do it another time when i am in the mood… O yea I fixed the problem…There appeared to be a coding error in a post because now i have removed all posts it seems fine…

    ooops sorry i made a typo in the url.. when i opened this post up, thaKing, your post wasnt there.. posts are less than 5 minutes apart and I had started the reply earlier than you posted so I didnt see that you had posted that 😉

    thaKing
    and yes, if you goto w3c.org it is the same as w3.org

    w3c.org redirects to w3.org so its the same.. ive used it for years

    try it before you tell me it doesnt work.

    hahaha…estjohn, hilarious…don’t take things too personal on here…the fact that w3c.org redirects you to w3.org means that you DO IN FACT test your site on w3.org and not w3c.org…

    thaKing I wasnt taking anyhting personal.. I was just saying mine worked fine too is all.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Page Layout…Gone Wrong!!’ is closed to new replies.