Skip to main content
CSS is fun and cool and I like it.
Article

Absolute, Relative, Fixed Positioning: How Do They Differ?

A user asked in the forums:

I am fairly new to web design, and I could never master the differences in positioning of elements. I know there are absolute, fixed, and relative. Are there any others? Also, do they majorly differ? And when should you use which?

Short answer: Yes, there is one more, "static", which is the default. Yes, they majorly differ. Each of them is incredibly useful and which you should use of course depends on the desired … Read article

icon-link icon-logo-star icon-search icon-star