基于HTML+CSS,jQuery编写的简易计算器后续(添加了(2)

<%@ page language="java" contentType="text/html; charset=UTF-" pageEncoding="UTF-"%> <!DOCTYPE html> <html> <head> <meta charset=" utf-"> <title>简易计算器</title> <jsp:include page="inc/easyui.jsp"></jsp:include> <style type="text/css"> button { font-size: px; font-weight: bold; width: px; } </style> <script type="text/javascript" src="https://www.jb51.net/article/js.js"></script> </head> <body> <table> <tr> <td colspan=""> <div></div> </td> </tr> <tr> <td> <button>存储(F)</button></td> <td> <button>取存(F)</button></td> <td> <button>&nbsp;退&nbsp;格&nbsp;</button></td> <td> <button>&nbsp;清&nbsp;屏&nbsp;</button></td> </tr> <tr> <td> <button>累存(F)</button></td> <td> <button>积存(F)</button></td> <td> <button>清存(F)</button></td> <td> <button>&nbsp;&nbsp;÷&nbsp;&nbsp;</button> </td> </tr> <tr> <td> <button>&nbsp;&nbsp;&nbsp;&nbsp;</button> </td> <td> <button>&nbsp;&nbsp;&nbsp;&nbsp;</button> </td> <td> <button>&nbsp;&nbsp;&nbsp;&nbsp;</button> </td> <td> <button>&nbsp;&nbsp;×&nbsp;&nbsp;</button> </td> </tr> <tr> <td> <button>&nbsp;&nbsp;&nbsp;&nbsp;</button> </td> <td> <button>&nbsp;&nbsp;&nbsp;&nbsp;</button> </td> <td> <button>&nbsp;&nbsp;&nbsp;&nbsp;</button> </td> <td> <button>&nbsp;&nbsp;-&nbsp;&nbsp;</button> </td> </tr> <tr> <td> <button>&nbsp;&nbsp;&nbsp;&nbsp;</button> </td> <td> <button>&nbsp;&nbsp;&nbsp;&nbsp;</button> </td> <td> <button>&nbsp;&nbsp;&nbsp;&nbsp;</button> </td> <td> <button>&nbsp;&nbsp;+&nbsp;&nbsp;</button> </td> </tr> <tr> <td> <button>&nbsp;&nbsp;&nbsp;&nbsp;</button> </td> <td> <button>&nbsp;&nbsp;.&nbsp;&nbsp;</button> </td> <td> <button>&nbsp;&nbsp;+/-&nbsp;&nbsp;</button> </td> <td> <button>&nbsp;&nbsp;=&nbsp;&nbsp;</button></td> </tr> </table> </body> </html>

计算器样式布局时借鉴别人的,但是代码均是本人自己写的,由于时间原因没有来得及测试,各位大侠在使用过程中发现有bug欢迎提出,共同学习进步,谢谢。

您可能感兴趣的文章:

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/wgwfjz.html