html - Why isn't this image showing? -


i made header image, reason can't appear css.

here's screenshot: enter image description here

the header in same image directory index.html file. background image appearing, not header. typed header twice in html div test in 2 different spots see if working, reason not showing up, don't lol.

thanks.

#header {         background-image:url('../emailheader.png');         width:100%;         height:100%;         background-repeat:no-repeat;   }   <div id="header"></div> 

here's example of it. not sure why doesn't work.

demo

you need provide height or dependent on height of inner content, 0

 #header {             background-image:url('http://i.imgur.com/nctiy.png');             width:100%;             background-repeat:no-repeat;             height:200px;      }  

Comments

Popular posts from this blog

c# - SVN Error : "svnadmin: E205000: Too many arguments" -

c++ - Using OpenSSL in a multi-threaded application -

All overlapping substrings matching a java regex -