0

I want to remove the image border, I have tried the following method

img {
    border: 0px;
}

Also I tried the following from the console of the browser border: none !important

my html code is

<div id="startDiv" style="font-size: 40;margin-left: 166px;margin-top: 207px" >
  <img onclick="startApplet();" id="start" />
</div>

I write the following inside style tag in head

#start {
    width: 150px;
    height: 150px;
    background: url(images/start.png) 0 150px;
    border-style: none;
}
4

1 回答 1

0

尝试:

#start img{
    border:none!important;
    border-style:none;
}
于 2013-07-05T07:52:35.187 回答