Hi I am facing problem with linking an image from CSS. I did from html but it shows a bad border around.So I want to link the image from css. is it possible. plz help with your suggestion.
<html> <head> <style>IMG {BORDER:NONE}</style> </head> <body><br /> <img src="http://www.google.com/intl/en_ALL/images/logo.gif"> </body> </html> HTML:
Yes when i link the image from html it shows a border and i set border:none from css. but it doesn't work.I have noticed that the border it shows is not a border. it shows default color of <a> tag around the image. And i need to deactivate this color .by background is not solid. If it was i could set the color of <a>=color of bg. plz any suggestion?
<html> <head> <style> A: IMG {BORDER:NONE !important;} </style> </head> <body><br /> <a href="http://google.com"> <img src="http://www.google.com/intl/en_ALL/images/logo.gif"> </a> </body> </html> Code (markup): ^^ Should work.