Forum Moderators: not2easy
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader»
(src='myimage.png',sizingMethod='scale');
div#container {
width:916px;
background:transparent url(../images/cont_bg.png);
margin:0 auto;
padding:0;
}
div#container {
width:916px;
background:transparent url(../images/cont_bg.png);
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader»
(src='../images/cont_bg.png',sizingMethod='scale');
margin:0 auto;
padding:0;
}
What am I missing?
div#container {
width:916px;
[b]height:100px;[/b]
background [b]/**/[/b]:transparent url(../images/cont_bg.png);
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader»
(src='../images/cont_bg.png',sizingMethod='scale');
margin:0 auto;
padding:0;
}
[edit: no urls, please. See CSS Forum Charter [webmasterworld.com] for details.]
[edited by: createErrorMsg at 3:23 am (utc) on Nov. 2, 2005]
enabled=true alongside the src and sizingMethod arguments. And this is obvious, but you'd wanna have the height set to the height of your image, not 100px. Otherwise, I don't think I know of anything else you could change. Maybe something is getting inherited or overriden by other CSS? (By the way, saw it before the link was removed - nice site!)
Your filter has a '»' in there [post-AlphaImageLoader & pre-(]...
The code I've used is:
background: url('../images/cont_bg.png') no-repeat left top;
* background: none;
* filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/cont_bg.png', sizingMethod='fixed'); }
Which works for me - so it looks like for IE you need to set the background to none :)
Unfortunately i've encountered a new problem... The alpha transparency is showing perfectly in IE now but any links that happen to be inside the container element with the alpha transparency will no longer work (ie.. they are not clickable) Working code is below...
IE specific CSS:
#container {
background-image: none;
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/cont_bg.png', sizingMethod='fixed');
}
HTML:
<div id="container">
<a href="http://...">Link</a>
</div>