I always thought by setting the div to relative and right 0 would position the div all the way to the right, if its parent was 100% width. Apparently I\'m wrong and only abs
So is there no way to make it work with relative?
Correct. Relative positioning is the position offset from where it would be with static positioning.
You need absolute positioning to position with respect to the edges of the containing block.