html 按钮颜色:网页按钮的特殊颜色设置
<input type=button name="Submit1" value="a" size=10 class=s02 style="background-color:rgb(235,207,22)">
详细代码如下:
<!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>
tag: 网页 , 电脑常识,电脑常识大全,生活常识 - 电脑常识