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

php - Invalid Cofiguration - yii\base\InvalidConfigException - Yii2 -

How to show in django cms breadcrumbs full path? -

ruby on rails - npm error: tunneling socket could not be established, cause=connect ETIMEDOUT -