css “background-image” shows unwanted border, img “src” does not

后端 未结 5 657
长情又很酷
长情又很酷 2021-02-07 08:06

Getting started with Twitter Bootstrap, I ran into a strange problem of which I can\'t figure out the cause.

When I render an image using:



        
5条回答
  •  离开以前
    2021-02-07 09:02

    Just add this, hope it'll work well

    #logo {
        background-image: url(/Content/Images/logo.png);
        border-radius:0px;
        border:0px;
    }
    

提交回复
热议问题