there are quite a few reasons you could end up with this result. it could be that too much fat has been used to grease the tin; the cake tin wasn't lined sufficiently; the oven was too hot; the cake was left in the oven for too long or a fat that is not suitable for baking has been used.