Hej, når jeg åbner min side i firefox eller chrome fungerer headeren helt fint, men i internet explorer ser det helt forkert ud, hvorfor kan det være? Herunder er min header kode.
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" />
<title><?php rev_title(); ?></title>
<?php rev_header_meta(); ?>
<!-- CSS Files -->
<link href="<?php bloginfo('stylesheet_url'); ?>" rel="stylesheet" type="text/css" media="screen" />
<!--[if IE 7]><link href="<?php bloginfo('template_directory'); ?>/ie7.css" rel="stylesheet" type="text/css" /><![endif]-->
<!-- End CSS Files -->
<!-- Alternative -->
<link href="<?php bloginfo('rss2_url'); ?>" rel="alternate" type="application/rss+xml" title="RSS 2.0" />
<link href="<?php bloginfo('pingback_url'); ?>" rel="pingback" />
<!-- End Alternative -->
<?php if (is_singular()) wp_enqueue_script( 'comment-reply' ); ?>
<?php
wp_deregister_script('jquery');
wp_register_script('jquery', ("http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"), false, '');
wp_enqueue_script('jquery');
?>
<?php if(is_page_template('template-contact.php')){ ?>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/validate.js"></script>
<script type="text/javascript">$(document).ready(function(){ $("#contactForm").validate(); });</script>
<?php }?>
<?php wp_head(); rev_css(); ?>
<?php global $options; foreach ($options as $value) { if (get_option( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_option( $value['id'] ); } } ?>
</head>
<body>
<div id="page">
<div id="header">
<div class="center">
<?php if (in_array('Search', $rev_general)) { ?><div id="search"><?php include (TEMPLATEPATH . '/searchform.php'); ?></div><?php } ?>
<div id="logo">" title="<?php bloginfo('name'); ?>"><img src="<?php bloginfo('template_directory'); ?>/images/logo.pn" alt="<?php bloginfo('name'); ?>" /></div>
<div id="nav">
<?php wp_nav_menu(array('theme_location' => 'primary-nav', 'container' => '', 'menu_class' => 'nav')); ?>
<?php rev_navSocial(); ?>
</div>
</div>
</div>
Jeg håber der er nogen der kan hjælpe mig,
Mvh.
madsmads
not a support question