PaulV 0 Posted October 5, 2013 Report Share Posted October 5, 2013 (edited) I want to make a site, with a wrapper centered on the screen, with contnet in the wrapper.This works with plain text in the wrapperhttp://www.captain-africa.com/CSSProblem...This works well. Now i want to positionthe content in a specific place: the wrapper does not reacht the bottom of the pageThis happens if want want to position content in a div-containerhttp://www.captain-africa.com/CSSProblem...As you can see, if you scroll down, things go wrong.What did i do wrong? Edited October 7, 2013 by PaulV Quote Link to post Share on other sites
astralaaron 17 Posted October 5, 2013 Report Share Posted October 5, 2013 What do you mean by things go wrong? I don't see any problem... Do you mean you want the content to stay at the same spot on the screen even when the page is scrolling? Quote Link to post Share on other sites
PaulV 0 Posted October 7, 2013 Author Report Share Posted October 7, 2013 What do you mean by things go wrong? I don't see any problem... Do you mean you want the content to stay at the same spot on the screen even when the page is scrolling? If you scroll down in the 2nd one you will see how the background goes all wrong. Quote Link to post Share on other sites
Ingolme 1,020 Posted October 7, 2013 Report Share Posted October 7, 2013 The problem is using "position: absolute" on your elements. Don't do it, it's always a source of trouble and there are better ways to put things in their place. 1 Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.