html - Floating footer hits absolute positioned div -
i trying create footer responsive , sticks bottom right of page can't work consistently when absolutely positioned div on same page.
the code using can seen at:
http://192.241.203.146/sample-page/
i have tried:
position: absolute; bottom: 0; right: 0; margin-bottom: 10px; margin-top: 40px;
as as:
float: right; bottom: 0; right: 0; margin-bottom: 40px; margin-top: 40px;
to work, not respect absolutely positioned content on page when resized down mobile. clashes so:
i know using position:absolute means div removed flow of objects need use on element in middle of page avoid objects jumping around when use jquery fades.
i suspect because not inside span or row per bootstrap base using. problem?
i'm @ loss here - guidance appreciated :)
your problem div normal page, position absolute. inspecting code saw this:
if want footer visible in bottom, can wrap footer div width 100% of width of page. this:
div#footer_container{ min-width: 100%; min-height: 100px; position: relative; } div#footer_container div#footer{ position: absolute; right: 0px; bottom: 0px; }
result:
red - main container of page, green - container of footer (its after main container), blue - footer.
p.s. sorry english :)
Comments
Post a Comment