Arrange layers of thinly sliced potato in greased baking dish. Sprinkle each layer with salt, pepper, minced onion, dot with margarine. Pour hot milk over the potatoes, so it is within ½ inch of the top of the potatoes. Bake at 350 degrees about 1 to 1-1/4 hours or until potatoes are tender.