PDA

View Full Version : Help me!



Johno
13-12-2007, 06:18 PM
Hey,

I am currently doing a website for school and my mate made me a wordpress template for it. Now as he is running OSX he doesn't face the problems IE creates.

http://f1inlochgelly.co.uk/site/

Now when in FF it works perfect but in IE its a different story. The blue bar (underneath the navigation, sometimes only appears after you hover/click on a link) comes up in IE when it shouldnt!

Any idea how to fix this?

.:; Johno

Moved by Agesilaus (Forum Moderator) from Design and Development: Please post in the correct forum in future.

Forge
13-12-2007, 06:28 PM
Works fine in my IE. Though i dont like the skin but good work on the logo :)

Johno
13-12-2007, 06:42 PM
It should be like this :

http://img70.imageshack.us/img70/6078/theproblembe7.png

.:; Johno

(I have tested it in IE6 and IE7 and it does the same)

Forge
13-12-2007, 06:45 PM
Btw your image link needs sorting.

Hmm..i dont have a clue unless you gave us some sort of code for that page and the css if thats what your using.

Johno
13-12-2007, 06:54 PM
Hey,

This is my header.php code - You can get the CSS from the "View Source" :)


<!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>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>F1 in Lochgelly</title>
<link href="<?php bloginfo('url'); ?>/wp-content/themes/f1/style.css" rel="stylesheet" type="text/css" />


<!-- The below PHP code is for the RSS feed :) -->
<?php if (is_single()) { ?>

<?php while (have_posts()) : the_post(); ?>

<link rel="alternate" type="application/rss+xml" title="<?php the_title(); ?> Comments" href="<?php bloginfo('url'); ?>/?feed=rss2&amp;p=<?php the_ID(); ?>" />

<?php endwhile; ?>

<?php rewind_posts(); ?>

<?php } ?>

<!--[if IE 5]>
<style type="text/css">
/* place css box model fixes for IE 5* in this conditional comment */
.twoColFixRtHdr #sidebar1 { width: 220px; }
</style>
<![endif]--><!--[if IE]>
<style type="text/css">
/* place css fixes for all versions of IE in this conditional comment */
.twoColFixRtHdr #sidebar1 { padding-top: 30px; }
.twoColFixRtHdr #mainContent { zoom: 1; }
/* the above proprietary zoom property gives IE the hasLayout it needs to avoid several bugs */
</style>
<![endif]--></head>

<body class="twoColFixRtHdr">

<div id="container">
<div id="header">
<h1><img src="<?php bloginfo('url'); ?>/wp-content/themes/f1/image/logo.png" alt="F1 in Lochgelly" width="770" height="124" /></h1>
<div id="navcontainer">
<ul id="navlist">
<li><a href="#">Home</a></li>
<li><a href="#">About Us</a></li>
<li><a href="#">The Crew</a></li>
<li><a href="#">Contact Us</a></li>
<li><a href="#">F1 in Schools</a></li>
</ul>
</div>
<!-- end #header --></div>

.:; Johno

Want to hide these adverts? Register an account for free!