fix html element margin at load