The formulation was developed using hydroxypropyl methyl cellulose (HPMC) K4M and HPMC K100M in a ratio of 85:15 along with 1:4 ratio of effervescent agents was found to give floating lag time of less than 1 min with total floating time of more than 8 h and 97.0% drug release in 8 h.