Generally, html sites do not have backgrounds, unless by 'html site' you mean all pages on the site. If so, then the easiest way is to include the style in a sitewide style sheet as an id to be applied specifically (uniquely) needed (as in my example), or as a class wherever needed, or as selected by an element tag type. One difference though is that you cannot use IE conditional comments in a stylesheet. This is the preferred method as it raises no caution flags in any other browser or for validation. Still this alternate method would work in a style sheet:
Code:
* html #semiTrans {
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/semi_trans.png', sizingMethod='scale');
background:;
}
Selectors in a style sheet prefaced with * html will only be applied by IE.
One caveat, under most circumstances, if applying this style to something other than the body, the element must have either width or position set in style as well.
Bookmarks