Deleteing the white bits then saveing it as a Gif. is trancparency..
When you select some pixels and hit delete your deleteing the pixels (
) which causes transparences becuse theres no data left in that area, the Gif. file format saves the pixels as being deleted where as other file formats fill in the pixels again.