Gradient not working

Permalink
The gradient I have setup is not working in IE. It works in both Firefox and Chrome/Safari. Any ideas?

Link to site:http://test.simleyfootball.com/...

Here is my code.

template code:
<?php defined('C5_EXECUTE') or die("Access Denied.")?>
<!DOCTYPE html>
<head>
<?php Loader::element('header_required'); ?>
<link href="<?php echo $this->getThemePath()?>/style/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<?php   Loader::element('footer_required'); ?>
<center>
<div id="wrapper">
<div id="pre-header">
pre-header
</div>
<div id="head-wrapper" class="gradient">
<div id="head"></div>


css code:
body {
   background-image:url(../images/noisy_net.png);
}
#wrapper {
   background-image: url(../images/natural_paper.png);
   width: 1024px;
   margin-top: 0;
}
#pre-header {
   display: none;
   clear: left;
   background-color: #F02B2B;
   width:1024px;
   height:20px;
}

 
Steevb replied on at Permalink Reply
Steevb
This is how I would do it:

#nav{background:#c5c5c5;background:-moz-linear-gradient(#fff 0%, #c5c5c5 100%);background:-webkit-linear-gradient(#fff 0%, #c5c5c5 100%);background:-o-linear-gradient(#fff 0%, #c5c5c5 100%);background:linear-gradient(#fff 0%, #c5c5c5 100%)}

Change % to alter effect.

I don't use 'filter' for IE anymore. If you can get access to your .htaccess file, paste code below to help IE behave:
<FilesMatch "\.(htm|html|php)$">
    <IfModule mod_headers.c>
        Header set X-UA-Compatible "IE=Edge, chrome=1"
    </IfModule>
</FilesMatch>



Or put this in header.php
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
to get IE to behave (won't validate).

Only issue is grads won't work with IE9, might want to call a small image?

Hope that helps.
Steev


Gotta go now, some fat bloke with a big white hairy beard has turned up and is drinking my brandy!!
SheldonB replied on at Permalink Best Answer Reply
SheldonB
http://www.colorzilla.com/gradient-editor/

this site might help you