PDA

View Full Version : making .gifs have transparency....



dinkumrocks
April 21st, 2005, 03:39 PM
ok. so far, i have a site where the text is in div's. in the div's, i want there to be a background image. that background image is an image taht is partially transparent.

I've tried everything to make the gif transparant, but ive had no luck. then i figured id make it a png, but css wont put the png in the background.

any ideas?
-Naaman

simplistik
April 21st, 2005, 03:43 PM
what type of background are u using? if you're using a white background then I'd just tint the actual image white. If you're using a pattern you can do the same w/ the pattern, of course that'll take a little more effort since you'll need to make it looks seamless.

hl
April 21st, 2005, 03:51 PM
using the alpha filter :)

silly simplistik thinks too much somtimes

simplistik
April 21st, 2005, 03:53 PM
using opacity :)

silly simplistik thinks too much somtimes
however you want to tint it... doesn't matter how you get it to tint :P

dinkumrocks
April 21st, 2005, 04:02 PM
well i am working with a backgound image. otherwise i would have already tinied it.

the other thing is i dont know how to do the alpha fileter. I'm working with fireworks, if that helps.

thanks for the help,
-Naaman

hl
April 21st, 2005, 05:35 PM
alpha filter in css silly... look up css filters

simplistik
April 21st, 2005, 05:39 PM
alpha filter in css silly... look up css filters
Hmmm... I think alpha filters only work in IE, on a PC. So while it may work very unpractical.

Maybe you can link us to the page you're workin w/ and we can help you trouble shoot it more... but if you can position the divs and things properly you should be able to align a tinted bg slice with it to make it look like it's transparent.

dinkumrocks
April 21st, 2005, 06:20 PM
www.dinkumrocks.com/web/home.htm


i was plannig on havving a bluish tint to where the text will be.

dinkumrocks
April 21st, 2005, 06:41 PM
my final goal is to have a tint on it, i dont know if the gif is the best approach though.

dinkumrocks
April 21st, 2005, 07:43 PM
alright, ive tried the css filter with no luck. i'm VERY stuck.:(