HELP!! ie6 not picking <!---- if code
Permalink<link href="<?=$this->getThemePath()?>/css/style.css" rel="stylesheet" type="text/css" />
<?php Loader::element('header_required'); ?>
<!--[if IE 6]>
<script type="text/javascript" src="http://www.winewholesalelimited.com/themes/winewholesale/supersleight-min.js"></script>
<style>
.content_box_wrap { width:170px; margin:5px auto; padding-bottom: 5px; position:relative; height:210px }
.navigation { width:500px; position:absolute; bottom:-14px; right:-15px; }
.navigation ul li a { margin:0 0 0 6px; padding:0px 4px 0 4px; font:bold 14px/31px Georgia, "Times New Roman", Times, serif; color:#000; text-decoration:none; display:block; background:url(http://www.winewholesalelimited.com/themes/winewholesale/images/tabsbg.gif) center top repeat-x; height:31px; float:left}
</style>
<![endif]-->
</head>

But seriously, when we tell clients the benefits of not designing a site to work in IE6 then they are fine with it.
If I had my way I would kill IE all together as its an awful browser.
It all depends on your target market. I'm developing a site at the moment where there's no question it should work in IE6 - the stats from the old site indicate:
IE8 = 40%
IE7 = 20%
IE6 = 10%
Firefox (all versions) = 14%
Chrome = 7%
Safari = 3%
iPad/iPhone = 0.6%
There's no question IE6 is a bit of a pain, but it's not dead. Lots of corporate still use it. Then again, it depends on your target market. A site for designers is going to be all Firefox/Safari/Chrome, but it's ridiculous to not have stuff work for 10% of your market. I find it funny everyone saying to design for iPads and then ignoring IE6 - nice Utopian idea, but we're not there yet.
Back to the business at hand.
@clairec: Could you try a test HTML file like I have attached.
If we can't get it to work correctly with the test HTML, there is no way it will work in PHP/c5.
http://php.net/manual/en/function.get-browser.php...
IE6 is terrible for security reasons, does not allow background PNG without javascript and even thats buggy. A lot of the techniques used in sites these days look terrible or don't work properly in IE6. Even css throws up a lot of problems.
Google have stopped supporting it as well as a lot of other big companies. It needs to die and the only way is to build sites that make use of the later technologies in IE7 and above. This forces the user to upgrade the browser to give them a better online experience and ultimately, help us developers.
If we all still thought and catered for tech/software thats over 12 years old then we would all be using Commodore 64's to view the web and trying to build them on ZX81's!
All I'm saying is that the day is coming that we can start dropping it, but not yet. Like I posted in my example above, that one site has 10% of people still using it (stats from yesterday). You have to consider why these people are in fact using it; they either a) are in a corporate environment where it's still in use and have no control over upgrading it, or b) have no idea that they can, or realize there's any reason or advantage to upgrading, or are simply intimidated by changing and won't ever download or install anything on their computer. All they know is your website looks like crap, so therefore you suck as a designer.
I'd say we have at least another year for IE6.
There's a good post and discussion about it here:http://www.friskdesign.com/2009/04/20/why-i-support-ie6/...
<!--[if IE]>
<script>
document.writeln( "<link rel='stylesheet' type='text/css' href='ie6.css' />");
</script>
<![endif]-->
No idea why it was not picking it up the normal way