Background Image not showing up in IE8

前端 未结 2 758
花落未央
花落未央 2021-02-14 19:12

So I have a tiny header image that repeats on the x axis, but for some reason it won\'t show up in IE8. Anyone know a work around?



        
相关标签:
2条回答
  • 2021-02-14 19:35

    Correct code after adding space looks like this:

    #header {
        background:url("images/headback.png") repeat-x;
        width:1020px;
        height:120px;
        font-family:arial;
        position:relative;
    }
    
    0 讨论(0)
  • 2021-02-14 19:40

    Try adding a space between ) and repeat-x.

    0 讨论(0)
提交回复
热议问题