using background image for li

前端 未结 6 2500
执笔经年
执笔经年 2021-02-20 03:31

I\'m using a background image for a

  • that will be used as a button, but it\'s not fully shown; however, when write text then it shows. I don\'t want text
  • 6条回答
    •  情话喂你
      2021-02-20 04:24

      Your problem is in setting display to inline. If you want background and width, but you also need an inline-type list, set float: left.

    提交回复
    热议问题