开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜