Click to See Complete Forum and Search --> : filters on a div tag?
krautinator
10-23-2003, 12:25 PM
<div id="div" style="background-image: url(reflectback.bmp); filter:alpha(opacity=30)">
Am I doing this wrong or is it not possible to have DHTML filters on a div tag?
gil davis
10-23-2003, 02:09 PM
From http://msdn.microsoft.com/workshop/author/dhtml/reference/properties/filter.asp
An object must have layout for the filter to render. A simple way to accomplish this is to give the element a specified height and/or width.
So, use something like:
<div id="div" style="background-image: url(reflectback.bmp); filter:alpha(opacity=30);width: 100px;height: 100px">
Adjust as required.
krautinator
10-24-2003, 09:54 AM
Ahhh ...
I see...
thnx alot