html - CSS beginner, background image won't show up -


my background-image won't show up. need tag image in html? maybe position reference or something? please help!

<html> <head>     <link type="text/css" rel="stylesheet" href="sespe.css"/>     <title>sespe pizza co.</title> </head> <body>     <div id="header1">         <h1>sespe pizza co.</h1>     </div>     <div id="mb1"></div>     <div id="mb2"></div>     <div id="mb3"></div>     <div id="mainpage">      <div id="b1"></div>     <div id="b2"></div>     <div id="b3"></div>     <div id="b4"></div>     <div id="b5"></div> </body> </html> 

css.....

body {     background-image:         url('/users/username/downloads/3634195609_f6b7edac1b_b.jpg');  } 

your path problem. navigating downloads folder. place image in folder in site folder, call 'images' , call css this. if new 'images' folder on same level css folder, first option work. ../because going 1 folder images.

body {   background-image: url('../images/3634195609_f6b7edac1b_b.jpg'); } 

edit: seems in case, css file not in css folder, can images folder without going different level:

body {   background-image: url('images/3634195609_f6b7edac1b_b.jpg'); } 

Comments