网页计算器
目前试出的BUG都处理了<-<
运行结果
代码
<html>
<head>
<meta charset="utf-8">
<title>网页计算器</title>
<style type="text/css">
input {
height: 50px;
width: 397px;
font-size: 50px;
background: mintcream;
}
td {
background: bisque;
text-align: center;
}
td:hover {
background: peachpuff;
cursor: pointer;
}
</style>
</head>
<body>
<center>
<input type="text" id="show_num" value="0" disabled="disabled" />
<table border="1" cellspacing="0" width="400px" height="260px" align="center">
<tr>
<td id="clear" width="100px">C</td>
<td id="del" width="100px">退格</td>
<td id="bfh" width="100px">%</td>
<td class="ysf" width="100px">/</td>
</tr>
<tr>
<td class="num">7</td>
<td class="num">8</td>
<td class="num">9</td>
<td class="ysf">*</td>
</tr>
<tr>
<td class="num">4<