小编Ive*_*ios的帖子

我无法删除边框

我无法从我的图片中删除边框.我尝试了很多次使用不同的属性.仍然看到白色边框.如果您有任何建议导致问题的原因 - 请向我解释.我是新手.

<head>
    <style>
    img{
    border : none;
    text-decoration: none;
    }
    #forum
    {
        background:url(forum_button.png) 0px 0px no-repeat; 
        width: 300px; 
        height: 81px;

    }
    #forum:hover
    {
        background:url(forum_button.png) -300px 0px no-repeat; 
        width: 300px; 
        height: 81px;
    }
    #facebook
    {
        background:url(social_buttons.png) 0px 0px no-repeat;
        width: 29px; 
        height: 29px;
    }
    #facebook:hover
    {
        background:url(social_buttons.png) 0px -33px no-repeat;
        width: 29px; 
        height: 29px;
    }
    #twitter
    {
        background:url(social_buttons.png) -31px 0px no-repeat;
        width: 29px; 
        height: 29px;
    }
    #twitter:hover
    {
        background:url(social_buttons.png) -31px -33px no-repeat;
        width: 29px; 
        height: 29px;
    }
    </style>
    </head> …
Run Code Online (Sandbox Code Playgroud)

html css image border

5
推荐指数
1
解决办法
2778
查看次数

标签 统计

border ×1

css ×1

html ×1

image ×1