...

View Full Version : Absolute and Relative Positioning



prophetofjah
10-20-2006, 04:59 PM
Howdy,
Absolute positioned divs use there containing box as there reference point, correct? For me they seem to use the viewports top left corner as a reference point instead.

Does a absolute positioned div need to be placed in a relative containing box to use the containing box as its referenc point?

Thanks,
PoJ

rmedek
10-20-2006, 06:04 PM
Does a absolute positioned div need to be placed in a relative containing box to use the containing box as its referenc point?
Yep. An absolute block is relative to its relative container (the viewport if there isn't one defined).

prophetofjah
10-20-2006, 06:38 PM
Thanks Richard!



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum