One of the most important properties that page elements can have is the position property. It's useful for controlling how elements appear in relation to other elements on the page.
- [Narrator] One of the most important properties…that page elements can have is the position property.…It's useful for controlling how elements…appear in relationship to other elements,…and they're pretty easy to understand.…However, the absolute and fixed positions…can be a little bit tricky,…so it's a good idea to ask somebody…the difference between them.…Now, the position property is particularly useful…for creating things like tooltips,…and we'll take a look…at an example of that in a few minutes.…Now, the key thing to remember is that it helps you…control how elements affect the flow…of content within a page,…and there are four main position properties available.…
The default position is called static,…and the other ones are relative, absolute, and fixed.…Now, there's an experimental property called sticky…that allows the content…to stick to the page as it is scrolled,…but it barely has any browser support as of now,…so we're going to skip that one.…One of the difference between these properties…allow you to control whether…
Skill Level Intermediate
Q: Why can't I earn a Certificate of Completion for this course?
A: We publish a new tutorial or tutorials for this course on a regular basis. We are unable to offer a Certificate of Completion because it is an ever-evolving course that is not designed to be completed. Check back often for new movies.