- From: gitspeaks via GitHub <sysbot+gh@w3.org>
- Date: Wed, 20 Nov 2024 20:18:59 +0000
- To: public-css-archive@w3.org
Directly from the MDN introductory course "Learn to style HTML using CSS": "notice that the position of the element has changed. This is because [top](https://developer.mozilla.org/en-US/docs/Web/CSS/top), [bottom](https://developer.mozilla.org/en-US/docs/Web/CSS/bottom), [left](https://developer.mozilla.org/en-US/docs/Web/CSS/left), and [right](https://developer.mozilla.org/en-US/docs/Web/CSS/right) behave in a different way with absolute positioning. Rather than positioning the element based on its relative position within the normal document flow, they specify the distance the element should be from each of the containing element's sides. So in this case, we are saying that the absolutely positioned element should sit 30px from the top of the "containing element" and 30px from the left." Source: https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/Positioning -- GitHub Notification of comment by gitspeaks Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11242#issuecomment-2489468620 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 20 November 2024 20:18:59 UTC