The main reason idli do not rise and remain flat is the use of too much water in the batter or lack of fermentation. I highly recommend reading through idli/dosa batter. I go over the proper amount of water needed, along with a number of tips and tricks for perfect fermentation.