This sets the background-image to render using DirectX alpha channels to properly transparentize PNG's. Also removes ordering on ordered lists so that we don't get 1. 1. 1. 1. in the dragdrop list.
<%= stylesheet_link_tag "common", :media => "all" %>
<%= stylesheet_link_tag "main", :media => "all" %>
<%= stylesheet_link_tag *(@stylesheets) %>
+ <%= stylesheet_link_tag "ie6hacks", :media => "all" if request.user_agent =~ /MSIE 6/ %>
<%= javascript_include_tag "prototype", "effects", "dragdrop", "controls" %>
</head>
--- /dev/null
+/*
+
+ IE6 Hacks for Transparent PNG and list ordering
+
+*/
+
+div#bar-left {
+ background-image: none;
+ filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/images/top_bar_1.png', sizingMethod=\'scale\');
+ width: 153px;
+ height: 37px;
+ padding-top: 8px;
+ float: left;
+ clear: left;
+}
+
+div#bar-right {
+ background-image: none;
+ filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/images/top_bar_2.png', sizingMethod=\'scale\');
+ width: 78px;
+ height: 37px;
+ padding-top: 8px;
+ float: left;
+ clear: right;
+}
+
+ol {
+ list-style-type: none;
+}
margin: 0 0 1em 0 !important;
}
-ol {
- list-style-type: none;
-}
.special {
background-color: #999999;
color: white;