当前位置: 代码迷 >> Web前端 >> 页面中将submit式样转换成a标签的样式
  详细解决方案

页面中将submit式样转换成a标签的样式

热度:172   发布时间:2012-10-08 19:54:56.0
页面中将submit样式转换成a标签的样式

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<style>

.buttons button{
??? border:0px;
??? background:transparent;
}

.buttons button.positive:hover{
text-decoration:underline;
??? color:#529214;
}
</style>
</head>
<body>
<form name="form1" method="post" action="">
<div class="buttons">
??? <button type="submit" class="positive" name="save">?????
??????? <a>Save</a>
??? </button>
</div>
</form>
</body>
</html>

  相关解决方案