General Community > HTML/CSS

CSS filters and transitions

(1/1)

Seph|roth:
If i'm not mistaken, CSS filters (like Alpha, FlipV, etc) should work when applied to <span> or <div> tags. But i can only get them to work when directly applying them to, for example, the <img> tag, which is very annoying because i have to apply the effect to every single element one by one... Any thoughts on this?

[Unknown]:
I looked into this because of the glow and shadow tags.  It seems that it won't apply to a div or span because they don't have fixed widths.  If you say style="width: blah;" it will...

I fixed this by using a table, (since the td DOES have a fixed width) and then using display: inline.  It seems the best solution.

-[Unknown]

Seph|roth:
yep, that works, thanks!

Navigation

[0] Message Index

Go to full version