html - CSS3 Background Image not going behind body? -


i have background image , when write in body tag background image works overlaps text on body. want position behind body , tried using background-position , wasn't working. how place background image behind body doesn't overlap?

body {   font-family: arial, helvetica, sans-serif;   font-size: 87.5%;   width: 800px;   background-color: #ffffff;   border-color: #000000;   box-shadow: #000000;   background: url(../images/bats.gif) center;   background-position: bottom;   text-align: center;   margin: 1em auto;   border: 5px black;   box-shadow: 3px 3px 3px 3px; } 

i tried code , it's working (background-image behind text) see here.

or can add background html tag.

demo

html {    background: url("paste image url here"); } 

addition: if want background-image cover full screen (browser), can use background-size: cover;

good luck!! (sorry if not meets requirement).


Comments

Popular posts from this blog

user interface - How to replace the Python logo in a Tkinter-based Python GUI app? -

objective c - Greedy NSProgressIndicator Allocation -

how to set an OCR language in Google Drive -