CSS Color the container -


i new language want know how can color container (the part between header , footer). possible without using div? have tried this, problem when change position of container "absolute" overlaps header more on changes page's width please give example code. thanks.

html , body {   height: 100%; }  body {   background: red; } 

i made html , body 100% in case. don't need it. suggest never have naked body background.

edit : or if want image

body { background:url('http://www.planwallpaper.com/static/images/canberra_hero_image.jpg');  } 

Comments

Popular posts from this blog

html - Difficulties with background-image property -

visual studio code - What does the isShellCommand property actually do and how should you use it? -

ios - Segue not passing data between ViewControllers -