kv79 Posted May 26, 2008 Share Posted May 26, 2008 Hi all <img src="heh.gif" border="0" /> it set a border = 0 but still have a some kind of white border .I try to use http://www.w3schools.com/css/pr_border-style.asp styles but not working .Thanks advance . Link to comment Share on other sites More sharing options...
aspnetguy Posted May 26, 2008 Share Posted May 26, 2008 if you write <img src="heh.gif" style="border-width:0" /> if you are still getting a border it is not from the image. If this doesn't work please post your HTML and CSS (the full code). Link to comment Share on other sites More sharing options...
kv79 Posted May 26, 2008 Author Share Posted May 26, 2008 Ops ..the code is <img src="" border="0" /> but still does not working with your style Link to comment Share on other sites More sharing options...
newseed Posted May 26, 2008 Share Posted May 26, 2008 Couple of things.1. Check to see if your image has a white border itself.2. Check to see if any padding (CSS) was used for the image. If your image is wrapped within a div and that div or img has padding, then whatever background it has will show through.Otherwise, you problably need to provide a url so we can better troubleshoot it. Link to comment Share on other sites More sharing options...
kv79 Posted May 26, 2008 Author Share Posted May 26, 2008 The point of all of this was to disable a IE image Toolkit to save an Image .I can disable to user to Save image Toolkit by cover it with transparent image .So the user only can save transparent image .But I want to disable a menu with empty src .like this code above .I hope that you understand . Link to comment Share on other sites More sharing options...
Synook Posted May 27, 2008 Share Posted May 27, 2008 Why not just convert the image to a background-image? Link to comment Share on other sites More sharing options...
kv79 Posted May 27, 2008 Author Share Posted May 27, 2008 Because I all ready have a background image . Link to comment Share on other sites More sharing options...
Suhail.Mir Posted May 27, 2008 Share Posted May 27, 2008 Because I all ready have a background image .I suggest you to try this:<img src="" style="border:none;">If this doesn't work, check if your images has some blank space near border, which is taking background.All the BestMir Link to comment Share on other sites More sharing options...
kv79 Posted May 27, 2008 Author Share Posted May 27, 2008 Hi all I solved my problem with http://www.w3schools.com/HTMLDOM/prop_styl...groundimage.aspSo now I do not have a IE Toolkit for saving images .Just as Synook said , I change a background every time .Thanks all , for help . Link to comment Share on other sites More sharing options...
Synook Posted May 27, 2008 Share Posted May 27, 2008 You could have just created a new child element which took on the background-image property... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.