Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Problem with backgrounds, aligning bottom too short for long pages!
Very annoying problem, and I think that it is mainly due to the new rule of html being the very bottom layer.
When you put a background on your page and want it to aligh to the bottom of the page, the bottom rule in background means the bottom of the window, not the bottom of the page.
My rules for the background are as follows.
where this works like a charm in pages that don't stretch over the window, it's pure hell for the pages that do continue over it, when scrolling down the background stops at the bottom of the browser window, creating nasties.
Not cool!
When you put a background on your page and want it to aligh to the bottom of the page, the bottom rule in background means the bottom of the window, not the bottom of the page.
My rules for the background are as follows.
html {
height: 100%;
background: rgb(46, 77, 154) url(images/niitty.jpg) repeat-x center bottom;
margin: 0;
padding: 0;
}
where this works like a charm in pages that don't stretch over the window, it's pure hell for the pages that do continue over it, when scrolling down the background stops at the bottom of the browser window, creating nasties.
Not cool!
0
This discussion has been closed.
Comments