add margin to dom element