top position and margin