WordPress.org

Ready to get started?Download WordPress

Forums

Problems with a page template..?! (4 posts)

  1. Uffe
    Member
    Posted 3 years ago #

    Hi..

    I am stock with this. For some strange reason this page template of mine works fine in Google-Chrome and Apple-Safari browser, but looks really odd in Explore browser..

    Any ideas how to fix it..??

    The page is this:

    http://uffekirkegaard.dk/blank-2

    Kind regards
    Uffe

  2. alchymyth
    The Sweeper & Moderator
    Posted 3 years ago #

  3. esmi
    Forum Moderator
    Posted 3 years ago #

    Start by sorting out the markup errors. Then move onto the CSS errors.
    http://codex.wordpress.org/Validating_a_Website

  4. Uffe
    Member
    Posted 3 years ago #

    Thank you both for the quick reply...

    I have tried to see if I could figure out these markup errors. But I must admit that my knowledge at this moment, don't stretch this far...

    The code from the page template looks like this:

    <?php
    /**
    	Template Name: Uffes fullwidth
    
    */
    ?>
    <html>
    <head>
    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
    <style type="text/css">
    body { background-color: #cccccc; background-image: url('http://uffekirkegaard.dk/wp-content/uploads/2010/10/bg.jpg'); background-repeat: repeat-y; background-position: top center; background-attachment: scroll; }
    </style>
    
    <title><?php wp_title( '|', true, 'right' ); bloginfo('name'); ?></title>
    <?php wp_head(); ?>
    </head>
    
    <body>
    <?php while (have_posts()) : the_post(); ?>
    <div id="container" class="uffes-fullwidth">
    			<div id="content" role="main">
    					<div id="page-content">
    					<?php the_content(); endwhile; ?>
    					</div>
    			</div>
    </div>
    </body>
    </html>

    ...and as far as I can read this IS how a page template should begin..!? or am I wrong..?

    So how does this <html> doc.type error fit in..?

    Hope you guys are able to shine some light my way.. :o)

    Thanks very much for the help..

    Ps. It looks like some of the errors comes from plugins..! Is this true you think..?

Topic Closed

This topic has been closed to new replies.

About this Topic