Hi I recently started to learn wordpress theme development and today I started my first worpress theme.For some reason my stylesheet get's loaded in chrome but not in firefox and IE the browsers I am using to test.
Something else I noticed is that it seems wordpress adds some additional styles on its own.Here's what I found on the source page:
<style type="text/css" media="screen">
html { margin-top: 28px !important; }
* html body { margin-top: 28px !important; }
</style>
This are not styles I added.
I have tryed to use <?php echo get_stylesheet_uri() ?>
<?php bloginfo('stylesheet_url')
But none of theme seem to load the styles.
Here is my entire header code:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>
<?php if (is_home () ) { bloginfo('name'); }elseif ( is_category() ) { single_cat_title(); echo ' - ' ; bloginfo('name'); }
elseif (is_single() ) { single_post_title();}
elseif (is_page() ) { bloginfo('name'); echo ': '; single_post_title();}
else { wp_title('',true); }
?>
</title>
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="<?php bloginfo('html_type') ?>" media="screen"/>
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" type ="<?php bloginfo('html_type') ?>" />
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<?php wp_head() ?>
</head>