Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Filters don't work.

Status
Not open for further replies.

calista

Programmer
Jan 24, 2001
545
US
Yes, here I am, again. I am trying to implement a style sheet using a filter, but the filter doesn't affect the appearance of the text at all. I know it's not my browser (I have IE 5.0) because when I was looking at a CSS tutorial, I saw the filter effects just fine. But, when I view the sample filters I have, none of them work either in Top Style preview, or my browser. Any ideas? Thanks!
 
Hey Calista, could you post the CSS code please? I thought filters only worked with IE 5.5. Kevin
slanek@ssd.fsi.com
 
OK, here's an example:
Code:
 .dropshadow { 
		   color : #cc0000;
		   font-family: 'sans-serif';
		   font-size: 14pt;
		   font-weight: bold;
		   padding: 4pt;
           width : auto;
           height : auto;
           position : relative;
           filter : DropShadow(Color=#996699,OffX=3,OffY=3,Positive=1)
}
 
I'm not getting it to work either, Calista. I'll tell you, I've had little to no success with filters. If you could tell me the web site you were looking at, I'll see what I can find.

Thanks, Kevin
slanek@ssd.fsi.com
 
Try positioning absolutely - and/or specifying dimensions - they are rather quirky like this. ;-)
b2 - benbiddington@surf4nix.com
 
Kevin, here is the site I was looking at:


Bangers, you were right! I changed "relative" to "absolute" in the previous code, and it works! However, it still doesn't explain why "relative" works on the site listed above (assuming they are using the same code they published), but not when I do it on my own. Oh well, at least we got it to work. Thanks guys! :-D
 
It don't need absolute, if you define it's dimensions - probly even one dimension will do. ;-)
b2 - benbiddington@surf4nix.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top