css - Background not starting at top -


so working on website hosted @ http://development.randomrab.com

the background starts off @ top whenever have background attachment set fixed. however, background scroll. whenever set background attachment scroll, background image starts off @ center of page. in, have scroll down see background. tried changing background position top, center top, top center, , none of worked.

my css code looks this:

body { color: #fff; font-size: 14px; font-family: arial, tahoma, verdana; margin: 0 auto 0; padding: 0; line-height: 24px; background-color: #0c0807; background-attachment: scroll; background-image: url(images/rab_bg.png); background-repeat: no-repeat; background-position: top; } 

background-attachment: scroll same background-attachment: initial (more info). if reset background attachment , position, you'll reset background image top. can manipulate later liking.

background-attachment: initial; background-position: center top; 

and get: in chrome: randomrab chrome screenshot

in firefox: randomrab firefox screenshot


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -