When you set something as left: 50px; in CSS, is the registration in the top left corner, or the center?
When you set something as left: 50px; in CSS, is the registration in the
Share
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.
Each one sets the registration point to whatever rule you’re using.
If you only supply left or right the default registration point is top-left or top-right respectively.
So, for the various style rules:
Left/Left and Top = Top-left Corner
Right/Right and Top = Top-Right Corner
Left/Left and Bot = Bottom Left Corner
Right/Right and Bot = Bottom Right Corner