How to set position absolute over position fixed


i have set position fixed in header and footer , i need to display the content as absolute in body section. if i set as body div as relative ,then content as absoulte means ,when i scroll up and down the content display over the header and footer,instead of display behind the header and footer.

any suggestion to solve this problem

Create a content section for the content and set position:relative on it instead of the body.

thanks for ur response , i have solved by setting z-index in header and footer .