This is what he is using, on his external stylesheet (erroneous html comment tags included):
Code:
<!--
.trans_box1 {
padding:0px 1px 0px 8px;
margin:1px;
border:solid 1px #555;
/* Mozilla doesn't support crazy MS image filters, so it will ignore the following */
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale src='images/50p_white.png');
}
/* IE ignores css styles with [attributes], so it will skip the following. */
.trans_box1[class] {
background-image:url(images/50p_white.png);
}
.trans_box2 {
padding:8px 8px 8px 8px;
margin:1px;
border:solid 1px #555;
/* Mozilla doesn't support crazy MS image filters, so it will ignore the following */
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale src='images/75_tan.png');
}
/* IE ignores css styles with [attributes], so it will skip the following. */
.trans_box2[class] {
background-image:url(http://pjrey.com/images/75_tan.png);
}
-->
It is a miracle that it does anything but, the 'Mozilla and other browsers' part seems to utilize a semitransparent .png as background image for the table. The overall include/exclude methodology is different than I am used to and has definite possibilities for this and other situations.
Bookmarks