background-image: url(“images/plaid.jpg”) no-repeat; wont show up

前端 未结 6 1157
青春惊慌失措
青春惊慌失措 2021-01-12 14:00

I can\'t seem to make my plaid.jpg the background on any of my pages, let alone all of them, I\'ve tried selecting it by body, html, *, the specific id of \"home\". nothing

6条回答
  •  北荒
    北荒 (楼主)
    2021-01-12 14:42

    You may debug using two ways:

    1. Press CTRL+U to view page Source . Press CTRL+F to find "mystyles.css" in source . click on mystyles.css link and check if it is not showing "404 not found".

    2. You can INSPECT ELEMENT IN FIRBUG and set path to Image ,Set Image height and width because sometimes image doesnt show up.

    Hope this may works !!.

提交回复
热议问题