I would like some text to be centered in the bottom of the screen.
I tried this, but it doesn’t work. It looks like absolute positioning conflicts with the alignment.
How could I achieve this simple task ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The div doesn’t take up all the available horizontal space when absolutely positioned. Explicitly setting the width to 100% will solve the problem:
HTML
CSS