vidhubala
asked on
GIF vs PNG
can we make the GIFS just like PNGs and can get transparency out of it.
for eg if i place a gif on a background color, should be able to see the color thru the GIF.
<div style="background-color:bl ue"><img src="1.gif" />
thanks
1.gif
for eg if i place a gif on a background color, should be able to see the color thru the GIF.
<div style="background-color:bl
thanks
1.gif
Yes if you're using a transparent GIF.
ASKER
how do we make transparent gifs?
you just don't put any color in the area that you want transparent
if you are using adobe ps, make your button like you have it, select the text (ctrl+click in the layers box) click on your box shape (in the layers box) hit delete, then delete your text
if you are using adobe ps, make your button like you have it, select the text (ctrl+click in the layers box) click on your box shape (in the layers box) hit delete, then delete your text
use adobe photoshop to make transparent photoshop files, with background set to transparent, and save to either GIF or PNG format interchangeably -- i.e. it can save the photoshop file to either format.
ASKER
i couldnt make it transparent in photoshop. i tried all options but when i save it as gif with 128 no dither after applying 50% opacity. but when its displayed it becomes opaque. pl suggest steps in ps.
tra.gif
tra.gif
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
can u pl provide me an example of that code working in a html sample page.