Removing unencessary border around image input
I am inserting an image as an html button, however the image has a black border around it, how do i remove this black border. I did not set a border pixel at all
<div c开发者_如何学Class="homeButton"><input type="image" src="/images/signInButton1.png" name="submit" id="submit_button" value="Login" width="900" ></input></div>
#submit_button { border: 0; }
with inline stiles
<input type="image" src="/images/signInButton1.png" name="submit" id="submit_button" value="Login" width="900" style="border-style:none;"></input>
border-style:none
will override all other border related styles for that element.
精彩评论