css - background image to cover the entire page -


i have above imageenter image description here

i have set in such way covers entire page. tried following code.

margin: 0px;     background: url(../images/common/header/background_color.png);     background-repeat:repeat-x;     background-attachment:fixed;     background-position:top center;      height: 100%;     width: 100%;     border: 0;     display:inline-block;     background-color: transparent; 

but this. enter image description here

it not covering entire page. @ bottom getting white space.could me? in advance.

just change

background: url(../images/common/header/background_color.png); background-repeat:repeat-x; 

to this

background: url(../images/common/header/background_color.png); background-repeat:repeat; 

Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -