<%@ 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> 退 格 </button></td> <td> <button> 清 屏 </button></td> </tr> <tr> <td> <button>累存(F)</button></td> <td> <button>积存(F)</button></td> <td> <button>清存(F)</button></td> <td> <button> ÷ </button> </td> </tr> <tr> <td> <button> </button> </td> <td> <button> </button> </td> <td> <button> </button> </td> <td> <button> × </button> </td> </tr> <tr> <td> <button> </button> </td> <td> <button> </button> </td> <td> <button> </button> </td> <td> <button> - </button> </td> </tr> <tr> <td> <button> </button> </td> <td> <button> </button> </td> <td> <button> </button> </td> <td> <button> + </button> </td> </tr> <tr> <td> <button> </button> </td> <td> <button> . </button> </td> <td> <button> +/- </button> </td> <td> <button> = </button></td> </tr> </table> </body> </html>
计算器样式布局时借鉴别人的,但是代码均是本人自己写的,由于时间原因没有来得及测试,各位大侠在使用过程中发现有bug欢迎提出,共同学习进步,谢谢。
您可能感兴趣的文章: