Css equivalent topmargin heightmargin

I do use:
<body topmargin=0 heightmargin=0>
How can i convert these attributes to css?

generally this would be it:

body { margin-top:0; margin-bottom:0;}