摘要:
边框塌陷怎么解决: 1.浮动元素脱离标准文档流 2.清除浮动 清除浮动:nclear属性 值说明 left 在左侧不允许浮动元素 right 在右侧不允许浮动元素 both 在左、右两侧不允许浮动元素 none 默认值。允许浮动元素出现在两侧 如:清除两侧浮动 img { clear:both; 阅读全文
摘要:
表单主要用来制作动态网页,方便和用户进行交互 <form method="post"action="result.html"> <p> 名字:<input name="name" type="text" > </p> <p> 密码:<input name="pass" type="password" 阅读全文