Hello.
Should /margin/ properties take effect on absolutely-positioned blocks?
I thought not, but the referred sample HTML [1] seems to prove me wrong
both on IE 6.0 and Firefox 0.8. I thought the /margin/ property should
have no effect, since the location of the positioned block is being
controlled by the /top/, /left/, etc. properties. The CSS2 Specification
states:
"Positioned elements generate positioned boxes, laid out according to
four properties: [top, right, bottom, left]"
There is no mention of /margin/. So, if I intend to have a block at (0,
0), I should only have to set /top/ and /left/ to 0 and not be concerned
about setting /margin-top/ and /margin-left/ to 0 as well.
Does anybody see something in the text of the Specification which I may
have missed?
[1] http://undl.org.br/temp/absmarg.html
Thank you,
--
Ney André de Mello Zunino