Ice floats on a liquid because its density differs. Ice is less dense than water, for example, and has, in the same time, a smaller mass raportated to its volume. Due to the fact that the same quanity of ice, as of water's, weights differenly, everything changes. In this case, ice weights less than this liquid, so it floats. Not the other way around.