css - Setting the HTML-Tag to position:relative -


i want div-container positioned @ bottom of page using position:absolute seems container positioned n pixels top. if set html-tag position:relative works intended.

is practice set html-tag position:relative?

edit: added jsfiddle.

in fiddle, body isn't positioned. elements absolutely positioned positioned relatively html, not body.

and html 100% high, high window.

solution: give body position:relative.

updated fiddle.


Comments

Popular posts from this blog

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

html - How to style widget with post count different than without post count -

url rewriting - How to redirect a http POST with urlrewritefilter -