Log in

View Full Version : transparent gif html



KerryN
04-06-2010, 09:03 AM
Hi

I wonder if anyone could help me. I know nothing about html but I am trying to figure out why the background to my image is not showing up as transparent when placed on Blogger.com. Below is the html for the image and I would be grateful if someone could show me what it should read to get the transparency that I set when producing the gif:

[CODE] <div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/_KgViK5uTIjg/S7rYrdA98mI/AAAAAAAAAEM/ADfzazIM-GY/s1600-h/warbler.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;">
</a><a href="http://4.bp.blogspot.com/_KgViK5uTIjg/S7rZ4RoCGyI/AAAAAAAAAEQ/g5EOkE-vAsY/s1600/warbler+copy.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="192" src="http://4.bp.blogspot.com/_KgViK5uTIjg/S7rZ4RoCGyI/AAAAAAAAAEQ/g5EOkE-vAsY/s200/warbler+copy.gif" width="200" /></a></div> [CODE]

Many thanks for your guidance.

Kerry N

KerryN
04-06-2010, 12:54 PM
I have now resolved this problem: it was an issue with the template on blogger.

djr33
04-06-2010, 03:40 PM
As far as I know transparent gifs are part of the image file itself and unrelated to program or HTML. Of course a program might not display it as transparent but most do. The format is pretty old and well supported. PNGs are different in that sense-- better, newer and less supported for transparency.
I suppose it's possible that the te plate did something strange but the first place to look is at the image format in your image editor.