(water)ice foats ontop of water because it is less dense. So how come you can walk on ice but not on water?
Even though the ice is less dense than the water, it's still a solid - that's why you can walk on it.
someone asked me, I didn't had a real answer what exactly does make something solid if it isn't the density
It's the relationship of the atoms to one another in the substance: in a solid their positions and distances don't/ can't particularly change. In a liquid they can change and in a gas they have even more freedom.
Does anyone know if there is a relationship with atom-cohesion and density? Is it an attribute of the element?