View Full Version : Removing borders


Mrs Barrett
04-17-2006, 08:42 PM
Hi all
I would like to know how 2 take the white background border off from these buttons

Thanks

http://i40.photobucket.com/albums/e211/Mario2k/fff.jpg

bejayel
04-17-2006, 10:40 PM
you will need to use a differatn image type (if you want it to be universally transparent), or jsut color it in in some image editor if you want it to match the background colour. gif supports transparencies, as well as png (although png transparencies are not supported in ie6.)

HeLpM3
04-17-2006, 10:56 PM
can u plz post the image instead of the screen shot :)

Mrs Barrett
04-18-2006, 07:24 PM
I have this code but its nt working

img {
border: 0; }

J to the izzosh
04-18-2006, 07:31 PM
Yes, that won't work because the borders aren't being generated by the browser around the image, rather, they are part of the image itself. You would need to make that white part transparent in an image editor like Photoshop or the GIMP (http://www.gimp.org) to have it not displayed.