html - Background Image Only Showing White Background CSS -




i'm veteran css , html, never before have seen problem. have background image, css, , html files placed properly. believe have code right since checked against site made, image not appear anything.

css

body { background-image: url(am-stage.png); background-repeat: no-repeat; background-color: black; background-size: 100% 100%; } 

html

<!doctype html>  <html> <head> <meta charset="utf-8"> <title> </title> <link rel="stylesheet" type="text/css" href="css.css"> </head> <body> </body> </html> 

edit: chrome giving error saying css file can't found. not sure why though. css in same directory html , image.

i figured out, sublime wasn't saving css css file. told save css, wasn't adding extension time reason. chose css , manually put in .css @ end , it's working.





wiki

Comments

Popular posts from this blog

Asterisk AGI Python Script to Dialplan does not work -

python - Read npy file directly from S3 StreamingBody -

kotlin - Out-projected type in generic interface prohibits the use of metod with generic parameter -