Increasing salinity also increases the density of sea water. Less dense water floats on top of more dense water. Given two layers of water with the same salinity, the warmer water will float on top of the colder water. ... Temperature has a greater effect on the density of water than salinity does