Friday, 9 August 2013

What is the point of using absolute positioning in CSS?

What is the point of using absolute positioning in CSS?

This link says
An absolute position element is positioned relative to the first parent
element that has a position other than static. If no such element is
found, the containing block is <html>
So absolute is in fact relative. So why not just use relative instead? Are
there any practical use cases which can only be done by using absolute
positioning but not relative?

No comments:

Post a Comment