+ 2
Give some clear example for position absolute and relative..
what is mean by absolute and relative position give explanation and example..I'm search Google also don't get understood clearly..anybody give detailed explanation.. thanks in advance.
2 Answers
+ 2
position absolute, it's then positioned relative to its first positioned ancestor element and if something is relative it's means that its positioned relative to its normal position, ok? If you consider that every html tag has it's give default position, then you can position this default position with relative values.
+ 1
Haven't done this yet quite new here but I think of "Absolute" (independent of elements movement) as in, holding a predefined value, or doesn't move or static positioning while "relative" is movable and is usually dependant on another elements movement to define it's position. Hope this thought brings some helps as you find more info.