I have probably very common question, search it all over, tried pretty much everything, display:block, zoom:1,set height,width nothing worked. I have table, which is actually a POP UP, made with javascript and jquery as wall. Here is simple example of my code.
$(tr1).css('width','210px');
$(tr1).css('height','63px');
$(tr1).addClass('testClass');
$(tr1).css('border-bottom','solid 1px #c6c7c5');
$(tr1).mouseover(function(){
$(tr1).css('cursor','pointer');
});
$(tr1).click(function(){
open_report('EXCEL',sparam);
popUpIsOpen = false;
removePopupBtn();
$(wrapperBox).remove();
});
$(tr2).css('width','210px');
$(tr2).css('height','63px');
$(tr2).addClass('testClass');
And this is my css
.testClass{
width: 210px;
height: 63px;
zoom: 1;
display: block;
background-repeat: no-repeat;
background: -webkit-gradient(linear, left top, left bottom, from(#dcdedb), to(#c9cbc8));
background: -moz-linear-gradient(top, #dcdedb, #c9cbc8);
background-image: -o-linear-gradient(top, #dcdedb, #c9cbc8);
background: -ms-linear-gradient(top, #dcdedb 0%,#c9cbc8 100%);
background: linear-gradient(top, #dcdedb 0%,#c9cbc8 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#dcdedb', endColorstr='#c9cbc8',GradientType=0);
}
.testClass:hover {
background: -webkit-gradient(linear, left top, left bottom, from(#eaebea), to(#d6d7d5));
background: -moz-linear-gradient(top, #eaebea, #d6d7d5);
background-image: -o-linear-gradient(top, #eaebea, #d6d7d5);
background: -ms-linear-gradient(top, #eaebea 0%,#d6d7d5 100%);
background: linear-gradient(top, #eaebea 0%,#d6d7d5 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eaebea', endColorstr='#d6d7d5',GradientType=0);
}
Work in all browsers except IE(ALL VERSIONS)... Any help will be appreciated! :)
Added GradientType=0 in the filters, still not working.