1. <div style = "text-align:right"> <input type = "button" value = "测试" /> <input type = "button" value = "测试" /> </div> 2. <div style="float:left"><button>1</button><div> //靠左 <div style="float:center"><button>1</button><div> //居中 <div style="float:right"><button>1</button><div> //靠右
html botton定位的俩种方法
最新推荐文章于 2022-04-17 12:56:49 发布