1 <%@ page language="java" contentType="text/html; charset=utf-8" 2 pageEncoding="utf-8"%> 3 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 4 <html> 5 <style type="text/css"> 6 table.tab { 7 font-family: verdana, arial, sans-serif; 8 font-size: 11px; 9 color: #333333; 10 border-width: 1px; 11 border-color: #666666; 12 border-collapse: collapse; 13 } 14 15 table.tab td { 16 border-width: 1px; 17 padding: 8px; 18 border-style: solid; 19 border-color: #666666; 20 background-color: #dedede; 21 } 22 23 table.tab tr { 24 border-width: 1px; 25 padding: 8px; 26 border-style: solid; 27 border-color: #666666; 28 background-color: #ffffff; 29 } 30 </style> 31 <head> 32 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 33 <title>index</title> 34 </head> 35 <body> 36 <form action="inputlog" method="post"> 37 <div align="center"> 38 <table align="center" class="tab'"> 39 <tr> 40 <td>账号:</td> 41 <td><input type="text" name="au.accnumber" /></td> 42 </tr> 43 <tr> 44 <td>密码:</td> 45 <td><input type="password" name="au.password" /></td> 46 </tr> 47 <tr> 48 <td> 49 <button type="submit">登录</button> 50 </td> 51 </tr> 52 </table> 53 </div> 54 </form> 55 </body> 56 </html>
这个简单css别的页面上会显示,但是在这个页面上死活不出现,求解惑
class="tab'">
tab后面多了一个单引号。。。
拜谢