1、首先写好文本框代码,如1图。
在浏览器中查看,如2图。
2、接下来写层以及input文本框的样式如图1,
查看文本框样式图2
3、写如何让input文本框居中的样式如图1,
input文本框在div层中居中,图2
讲解到这里over!