background-image doesn't appear if
is empty?

前端 未结 8 1095
旧巷少年郎
旧巷少年郎 2020-12-07 01:11

I created a

first thing in the to draw a top line at the top of the page:


    
8条回答
  •  时光说笑
    2020-12-07 01:50

    You might need to set the css width and height of your

    element to whatever size you want

    .bordertop {
        background-image: url(../images/top_border.png);
        background-repeat: repeat-x;
        width: 200px;
        height: 100px;
    }
    

提交回复
热议问题