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

  1. Uffe
    Posted 5 years ago #


    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:


    Kind regards

  2. Michael
    Forum Moderator
    Posted 5 years ago #

  3. esmi
    Forum Moderator
    Posted 5 years ago #

    Start by sorting out the markup errors. Then move onto the CSS errors.

  4. Uffe
    Posted 5 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:

    	Template Name: Uffes fullwidth
    <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; }
    <title><?php wp_title( '|', true, 'right' ); bloginfo('name'); ?></title>
    <?php wp_head(); ?>
    <?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; ?>

    ...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