<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<script language="javascript">
function deleteDiv(ele){
ele.parentNode.parentNode.removeChild(ele.parentNode);
}
</script>
</head>
<body >
<div style="border:1px solid #ccc;"><input type="button" style="background:#00ff00" value="Button"></div>
</body>
</html>
不明白请联系我!!
<input type="button" style="background-color:green"/>
<input type="button" style="background-color:#FFF000" value="按钮"/>
<div style="border:5px solid #fff;"><input type="button" style="background:#ccffee" value="按钮颜色"></div>