Reason #4871 why I hate DHTML


Margins. In script.


To set? Use element.style.marginTop.


To get in runtime? Use element.topMargin.


Arghhhhhhh! It's like DHTML is forcefuly trying to make me hate it.

Comments (0)

Skip to main content