Your way is for all images. If you want to remove border for selected images, then you can set the border style to inline for the particular image.
<a href="http://www.codeproject.com"><img src="Bob.gif" alt="Codeproject" style="border-style: none;" /></a>Method 2
<a href="http://www.codeproject.com"><img src="Bob.gif" alt="Codeproject" border="0" /></a>
I have tested this script in the following Web browsers:
- Internet Explorer
- Mozilla Firefox
- Google Chrome
<img src="http://s.codeproject.com/App_Themes/Std/Img/logo225x90.gif" style="border-style: none;" title="Image without border">
Programmer | CodeProject MVP, Mentor | Author | Geek | Blogger | Bachelor | Dude
About him & his blog? check out here
. Currently he's updating the site, he'll return soon there with more things*
In Codeproject, he posted a blogpost
& more than couple of Tip/Tricks
, hope he'll write more soon.
Favorite techs are MVC, WCF, Mobile, HTML5, CSS3, jQuery, etc.,
His hobbies are watching movies, CP, being alone, etc., But now he's working on something*