Css position:fixed overflow:auto problem?

I think I understood the question, but I'm still not clear on what you're trying to build.

I think I understood the question, but I'm still not clear on what you're trying to build. You should change position : fixed; to: position : absolute; This fixes your scrolling issues. .. .

*note: I also think you can remove the overflow: auto; Also, change: body{ width:100%;height:100%; } to: html, body{ width:100%; min-height: 100%; height: auto! Important; height:100%; }.

I need a position : fixed;, my body height is very long, if change to position : absolute; the div#wrap will display in the middle of the page. – yuli chika Jan 13 at 12:36 I tested it here: jsfiddle. Net/8cxmD and it doesn't appear in the middle of the page.

– Shango Jan 13 at 12:38 See my latest edit, with the html and body CSS.... – Shango Jan 13 at 12:43 sorry for I have a lunch, I say in this situation, If my body have other code, I add many br in the body, the code in jsfiddle. Net/624zW/1/ then, I see the div#wrap in the middle of the body. I need it like a position:fixed, always show in the bottom of the body.

– yuli chika Jan 13 at 14:04.

You're div is being cut off because you have aligned it to the bottom of the browser window, and then added a left margin, pushing the div outside of the window. Overflow will not help with this, as it is not the content that is being pushed outside the div, but the whole div itself. If you are trying to create a footer that stays at the bottom of the page, do what Julian suggests and absolutely position your div (but again be carefull with the margins), and make sure to note that the abosulely positioned div will be positioned relative to the next parent with "position:relative", or, if none are found, the html element.

Thanks, I update Julian code in jsfiddle. Net/624zW/1/ I mean if my body height is very long, the div#wrap will display in the middle of the body even mouse scroll in y direction. I need a effection like position:fixed.

– yuli chika Jan 13 at 14:09.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions