html - Tricky sticky footer with sidebar -


i'm looking place sticky footer inside of content area of page full-height sidebar.

here copy of page i'm working on: http://www.lavenderstone.co.uk/stackoverflow/

enter image description here

i've worked http://ryanfait.com/sticky-footer/ many times in past, , method using %'s instead. twist problem i'm having there 100% height sidebar (green) , need footer (orange) @ bottom of content div (grey).

i can't place footer div @ bottom of parent div, nor can force sibling have 100% height minus hight of footer. i've tried both no avail.

i place footer right @ bottom of page, disrupt design of side bar. can help? i'm wanting resort javascript!

add style content-wrap element

#content-wrap{     height:100%; } 

put footer element in content element , add style;

#footer{     position:absolute;     bottom:0; } 

Comments

Popular posts from this blog

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

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

javascript - storing input from prompt in array and displaying the array -