Tag Archives: Place a button right aligned

Place a button right aligned

Question I use this code to right align a button. <p align=”right”> <input type=”button” value=”Click Me” /> </p> But P tags wastes some space, so looking to do the same with span or div. Solution Which alignment technique you use depends on your circumstances but the basic one is float: right;: <input type=”button” value=”Click Me”… Read More »