PaulV Posted October 5, 2013 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 Link to comment Share on other sites More sharing options...
astralaaron Posted October 5, 2013 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? Link to comment Share on other sites More sharing options...
PaulV Posted October 7, 2013 Author 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. Link to comment Share on other sites More sharing options...
Ingolme Posted October 7, 2013 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 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now