Hi,
I have a taxonomy.php file from my Wordpress install. I have a different taxonomy file for 1 section of the site. The only difference is that this one calls an extra CSS file at the beginning. All is fine on every browser except IE all versions. On IE the page layout is messed up.
It is not the CSS itself that is upsetting IE as I made a completely empty CSS file and called that. The page was still messed up in the same way. Everything to the right.
You can see it here http://thecraftcircle.com.au/shop/products-page/100-percent-wool-felt/
can I not call a css file like this. Is my syntax wrong and IE is more picky?
Please assist, I thought I was ready to go until I tried IE!
Full taxonomy file code is below it is quite short. Works fine without that very first line.
<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo('template_directory'); ?>/customfelt.css" />
<?php get_header(); ?>
<div id="container" class="container_24">
<?php
$image_width = get_option('product_image_width');
if (get_option('storefront_shop_layout') == '3 Column') {$sidebargrid = 6;$contentgrid = 12;$prodcont = 455;} else {$sidebargrid = 5;$contentgrid = 19;}
if (get_option('storefront_shop_layout') == 'Full Width') {$pageclass = "full-width-page-content"; $contentgrid = 24;}
if (get_option('storefront_shop_layout') == 'Left Sidebar') {$pageclass = "left-sidebar-page-content";}
if (get_option('storefront_shop_layout') == 'Right Sidebar') {$pageclass = "right-sidebar-page-content";}
$textcolwidth = $prodcont - $image_width - 10;
?>
<?php if ((get_option('storefront_shop_layout') == '3 Column') || (get_option('storefront_shop_layout') == 'Left Sidebar')) { ?>
<style>#content {padding-left:5px;}</style>
<?php if (get_option('storefront_shop_layout') == 'Left Sidebar') { ?>
<style>#content {margin-right:-5px;}</style>
<?php } ?>
<div id="left-sidebar" class="grid_<?php echo $sidebargrid;?> sidebar">
<?php dynamic_sidebar('Page Sidebar Left'); ?>
</div>
<?php } ?>
<div id="content" class="grid_<?php echo $contentgrid;?> <?php if (get_option('storefront_shop_layout') == '3 Column') {echo "center-column";}?>">
<div class="page-content <?php echo $pageclass;?>">
<h1><?php the_title();?></h1>
<?php the_content(); ?>
</div>
</div>
<?php if ((get_option('storefront_shop_layout') == '3 Column') || (get_option('storefront_shop_layout') == 'Right Sidebar')) { ?>
<div id="right-sidebar" class="grid_<?php echo $sidebargrid;?> sidebar">
<?php dynamic_sidebar('Page Sidebar Right'); ?>
</div>
<?php } ?>
<div class="clear"></div>
</div>
<?php include(TEMPLATEPATH . '/includes/footer/footer-widgets.php'); ?>
<?php get_footer(); ?>