Partager via


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.