<td>标签中valign="middle"与align="center"区别

本文详细介绍了HTML表格中元素的垂直(上下)和水平(左右)对齐方式,包括如何使用valign属性进行垂直对齐,如top、middle、bottom,以及如何使用align属性进行水平对齐,如LEFT、CENTER、RIGHT。

valign 调格子中内容的垂向(上下)位置,valign=“top“上面,  valign=“middle“中间,或 valign=“bottom 下面。

align 调格子中内容的(左右)横向位置,align="LEFT“ 左边对齐, align="CENTER“中间 或 align="RIGHT“右边对齐。

转载于:https://www.cnblogs.com/liangyu/articles/2440944.html

下面这段是PHP5.6,如何改成PHP8.4? <?php require_once("include/global.php"); ?> <html> <head> <?php echo getMeta('gb') ?> <title><?php echo $_GLOBAL_CONF['SITE_NAME'] ?></title> </head> <link rel="stylesheet" href="/common.css" type="text/css"> <style> a {color:#616651} .img1 {border:solid 0 black} </style> <BODY link=#cc0000 leftMargin=0 topMargin=0 marginwidth="0" marginheight="0"> <?php require_once("include/header.php"); ?> <?php /* <div id=ad_dl01 style="z-index:1; visibility:visible; width:100px; position:absolute; top:115px; right:5px;"> <table border=0 cellspacing=0 cellpadding=0 width=300 style="table-layout:fixed; word-break:break-all" bgcolor=#d3e9FF> <tr> <td><iframe width="300" height="200" style="border: solid 1px black; width: 600px; height: 30px;" frameborder="0"></iframe></td> </tr> </table> </div> <script type=text/javascript> var step_ratio = 0.1; objs = new Array(); objs_x = new Array(); objs_y = new Array(); function addfollowmark(name, x, y) { i = objs.length; objs[i] = document.getElementById(name); objs_x[i] = x; objs_y[i] = y; } function followmark() { for(var i=0; i<objs.length; i++) { var fm = objs[i]; var fm_x = typeof(objs_x[i]) == 'string' ? eval(objs_x[i]) : objs_x[i]; var fm_y = typeof(objs_y[i]) == 'string' ? eval(objs_y[i]) : objs_y[i]; if (fm.offsetLeft != document.body.scrollLeft + fm_x) { var dx = (document.body.scrollLeft + fm_x - fm.offsetLeft) * step_ratio; dx = (dx > 0 ? 1 : -1) * Math.ceil(Math.abs(dx)); fm.style.left = fm.offsetLeft + dx; } if (fm.offsetTop != document.body.scrollTop + fm_y) { var dy = (document.body.scrollTop + fm_y - fm.offsetTop) * step_ratio; dy = (dy > 0 ? 1 : -1) * Math.ceil(Math.abs(dy)); fm.style.top = fm.offsetTop + dy; } fm.style.display = ''; } } addfollowmark("ad_dl01", "document.body.clientWidth-305", 115); setInterval('followmark()',20); </script> */ ?> <center> <table width=95% border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="2"><img src="images/tb_left.jpg" width="2" height="28" /></td> <td background="images/tb_bg.jpg"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <?php if($_SESSION['ss_admin']>0) echo " <form name=loginform method=post action=/login.php> <input type=hidden name=username value='$ss_name'> <input type=hidden name=password value='$ss_password'> "; ?> <tr> <td width="9"> </td> <td width=111><table border="0" cellspacing="0" cellpadding="0"> <tr> <td width="2"><img src="images/tb_sel_left.jpg" width="2" height="28" /></td> <td width="124" align="center" background="images/tb_sel_bg.jpg" class="selmenu">首页 Home</td> <td width="4"><img src="images/tb_sel_right.jpg" width="4" height="28" /></td> </tr> </table></td> <td align="center"><a href=/search.php class="menu">产品 Products</a></td> <td align="center"><span class="bai">|</span></td> <td align="center"><a href=/newest class="menu">新产品 New Products</a></td> <td align="center"><span class="bai">|</span></td> <?php /* <td align="center"><a href=/cart.php class="menu">Order</a></td> <td align="center"><span class="bai">|</span></td> <td align="center"><a href=/guestbook class="menu">Guestbook</a></td> <td align="center"><span class="bai">|</span></td>*/ ?> <td align="center"><a href=/help/about.php class="menu">联系我们 Contact us</a></td> <td align="center"><span class="bai">|</span></td> <td align="center"><a href=/register class="menu">注册 Register</a></td> <?php if($_SESSION['ss_admin']>0){ ?> <td align="center"><span class="bai">|</span></td> <td align="center"><a href=/admin class="menu" target=_blank>Admin</a> <input type=submit value=ReLogin style=cursor:hand></td> <?php } ?> <?php if($_SESSION['ss_userid']>0){ ?> <td align="center"><span class="bai">|</span></td> <td align="center"><a href=/bill class="menu">Bills</a></td> <td align="center"><span class="bai">|</span></td> <td align="center"><a href=/logout.php class="menu">退出 Logout</a></td> <?php }else{ ?> <td align="center"><span class="bai">|</span></td> <td align="center"><a href=/login.php class="menu">登录 Login</a></td> <?php } ?> </tr> <?php if($_SESSION['ss_admin']>0) echo " </form> "; ?> </table></td> <td width="2"><img src="images/tb_right.jpg" width="2" height="28" /></td> </tr> </table></td> </tr> <tr> <td><table width="100%" border="0" cellspacing="0" cellpadding="0"> <form name=searchform action=search.php method=post> <tr> <td width="6"><img src="images/tb_bt_left.jpg" width="6" height="62" /></td> <td background="images/tb_bt_bg.jpg"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="266" align="center" valign="top" class="vd" style="font-size:11px;color:#333333"></td> <td height="58" align="center"><select name=key> <option value=model_no <? if($key == "model_no") echo "selected"; ?>>型号 Model No.</option> <option value=name <? if($key == "name") echo "selected"; ?>>名称 Name</option> <option value=features <? if($key == "features") echo "selected"; ?>>规格 Features</option> <option value=description <? if($key == "description") echo "selected"; ?>>说明 Descriptions</option> <option value=fob_port <? if($key == "fob_port") echo "selected"; ?>>港口 Fob Port</option> <option value=color <? if($key == "color") echo "selected"; ?>>颜色 Color</option> <option value=matial <? if($key == "matial") echo "selected"; ?>>材料 Matial</option> </select> 关键词 Keyword:<input type=text size=5 name=value value="<?php echo $value?>"> 产品号 ProductID:<input type=text size=5 name=productid value="<?php echo $productid?>"> <input type=hidden name=typeid value="<?php echo $typeid?>"> <input type=submit name=sub6 value="查找 Search"></td> </tr> </table></td> <td width="7"><img src="images/tb_bt_right.jpg" width="7" height="62" /></td> </tr> </form> </table></td> </tr> </table> <table width=95% border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td valign="top" width=350><table width="100%" height="160" border="0" cellpadding="1" cellspacing="1" bgcolor="#F3F1E7"> <tr> <td valign="top" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding=5> <tr> <td height="22" align="left" bgcolor="#E7E4D2"></td> </tr> <tr> <td height="350" align="left" class="vd"><FONT style=font-size:14px;color:#000000;line-height:22px><?php include "include/html/notice1.html";?><FONT></td> </tr> <tr> <td height="1" bgcolor="#f5f5f5"></td></tr> <tr> <td height="20" align="right"><a href=/help/about.php class="blue" target=_blank>联系我们 Contact Us</a>   |   <a href=/help/about.php class="blue" target=_blank>更多 More</a>   </td> </tr> </table></td> </tr> </table></td> <td width="5"> </td> <td> <table cellspacing=0 cellpadding=0 align="center" bgcolor=#ffffff> <tr><td align=center> <?php /* <font style=font-size:5px><br></font><table border=0 cellspacing=0 cellpadding=0> <tr> <td align=center width=311><img src=images/100001.jpg class=img1><font style=font-size:5px><br><br></font></td> <td bgcolor=#c1c69d width=1></td> <td align=center width=311><table cellspacing=0 cellpadding=0 align="center"> <tr align=center> <td colspan=2 height=5></td> </tr> <tr align=center> <td><a href=search.php?typeid=1001000><img src=images/200001.jpg alt="Molding Case" class=img1></a></td> <td><a href=search.php?typeid=1002000><img src=images/200002.jpg alt="Assembled Case" class=img1></a></td> </tr> <tr align=center> <td><a href=search.php?typeid=1003000><img src=images/200003.jpg alt="Instrument Box" class=img1></a></td> <td><a href=search.php?typeid=1004000><img src=images/200004.jpg alt="Aluminum Box" class=img1></a></td> </tr> </table><font style=font-size:2px><br><br></font></td> </tr> <tr> <td bgcolor=#c1c69d colspan=3></td> </tr> <tr> <td align=center><font style=font-size:5px><br></font><table cellspacing=0 cellpadding=0 align="center"> <tr align=center> <td><a href=search.php?typeid=2001000><img src=images/300001.jpg alt="Premium Bag" class=img1></a></td> <td><a href=search.php?typeid=2002000><img src=images/300002.jpg alt="Casual Bags" class=img1></a></td> </tr> </table></td> <td bgcolor=#c1c69d width=1></td> <td align=center><font style=font-size:5px><br></font><table cellspacing=0 cellpadding=0 align="center"> <tr align=center> <td><a href=search.php?typeid=3001000><img src=images/400001.jpg alt="Solid Wood Item" class=img1></a></td> <td><a href=search.php?typeid=3002000><img src=images/400002.jpg alt="Gift Item" class=img1></a></td> </tr> </table></td> </tr> </table><font style=font-size:5px><br></font>*/?> <a href=search.php><img src=images/01.jpg alt="Enter Please" class=img1 width=600></a> </td></tr> </table> </td> </tr> </table> <table border=0 cellpadding=0 cellspacing=0><form method=POST action=n2e.php target=frame1> <tr><td valign=middle>数字 Num<input type=text SIZE=16 name=id><INPUT TYPE=submit VALUE="英语 EN" NAME=s></td> <td><IFRAME name=frame1 frameBorder=1 width=780 scrolling=no height=26></IFRAME></td></tr></form> </table> <table border=0 cellpadding=0 cellspacing=0><form method=POST action=n2c.php target=frame2> <tr><td valign=middle>数字 Num<input type=text SIZE=16 name=id><INPUT TYPE=submit VALUE="中文 CN" NAME=s></td> <td><IFRAME name=frame2 frameBorder=1 width=780 scrolling=no height=26></IFRAME></td></tr></form> </table> <?php require_once("include/foot.php"); ?> </center> </body> </html>
06-11
<!--#Include file="../include/db.inc"--> <html> <head> <title>各区必修课数据查询</title> <style> .t_i{width:1520px; height:auto; float:center; border-right:0px solid #000; border-top:1px solid #000} .t_i_h{width:100%; overflow-x:hidden; background:buttonface;} .t_i_h table{width:1500px;} .t_i_h table td{border-right:1px solid #000; border-bottom:1px solid #000; height:20px; text-align:center} .cc{width:100%; height:625px; border-bottom:1px solid #000; border-right:1px solid #000; background:#fff; overflow:auto;} .cc table{width:1500px; } .cc table td{height:25px; border-bottom:1px solid #000; border-right:1px solid #000; text-align:center} </style> <script> function aa(){ var a=document.getElementById("cc").scrollTop; var b=document.getElementById("cc").scrollLeft; document.getElementById("hh").scrollLeft=b; } </script> <link href="../images/cssexamin.css" rel="stylesheet" type="text/css"> <script src="laydate/laydate.js"></script> </head> <body class="banquan" background="../images/11-08.gif"> <table border="0" align="center" width="100%" cellpadding='0' valign="top"> <tr> <td align="center" width="100%"> <img src="../images/pic.jpg"> </td> </tr> </table> <br><br> <form action="" name="form1" method="post"> <table width="750" border="0" align="center" cellpadding="2" cellspacing="1" class="banquan"> <tr> <td width="8%"><font face="Arial">Emp.NO:</font></td> <td width="6%" align="center"> <input name="EmpNo" type="text" id="EmpNo" size="15"> </td> <td> </td> <td width="11%"><font face="Arial">Section:</font></td> <td width="10%" align="center"> <font size="2" face="Arial"> <select name="Section"> <option value=""></option> <option value="TF1">TF1</option> <option value="TF2">TF2</option> <option value="CMP1">CMP1</option> <option value="CVD1">CVD1</option> <option value="PVD1">PVD1</option> <option value="CMP2">CMP2</option> <option value="CVD2">CVD2</option> <option value="PVD2">PVD2</option> <option value="4F">4F</option> <option value="CMP3">CMP3</option> <option value="TF3">TF3</option> <option value="DIFF1">DIFF1</option> <option value="IMP1">IMP1</option> <option value="DIFF2">DIFF2</option> <option value="IMP2">IMP2</option> <option value="MIDDLE">MIDDLE</option> <option value="ETCH3">ETCH3</option> <option value="LITHO3">LITHO3</option> <option value="ETCH1">ETCH1</option> <option value="ETCH2">ETCH2</option> <option value="LITHO1">LITHO1</option> <option value="SCAN">SCAN</option> <option value="LITHO2">LITHO2</option> <option value="WFS(AL)">WFS(AL)</option> <option value="WFS(CU)">WFS(CU)</option> <option value="WAT">WAT</option> <option value="OQI">OQI</option> <option value="Transfer Team">Transfer Team</option> <option value="ALL">ALL</option> </select> </font> </td> <td> </td> <td width="10%" align="center"><font face="Arial">Shift:</font></td> <td width="10%" align="center"> <font size="2" face="Arial"> <select name="Shift"> <option value=""></option> <option value="DA">DA</option> <option value="DB">DB</option> <option value="NA">NA</option> <option value="NB">NB</option> <option value="Nor">Nor</option> </select> </font> </td> <td> </td> <td width="10%" align="center"><font face="Arial">报道日期:</font></td> <td width="6%" align="center"> <input name="Onboard" type="text" id="Onboard" size="15"> </td> <td> </td> <td width="8%" align="center"> <input type="submit" name="btnEnter" value="Query"> </td> </tr> </table> </form> <% EmpNo=trim(request("EmpNo")) Section=trim(request("Section")) Shift=trim(request("Shift")) Onboard=trim(request("Onboard")) ' response.write "Onboard=" & Onboard & "<br>" %> <!--table--> <div class="t_i" style="position:absolute;left:200px"> <div class="t_i_h" id="hh"> <div class="ee"> <table cellpadding="0" cellspacing="0" border="0"> <tr bgcolor="#336666"> <td width="7%" align="center" rowspan="2"><font color="#FFFFFF" size="2" face="Arial">Emp.NO</font></td> <td width="6.5%" align="center" rowspan="2"><font color="#FFFFFF" size="2" face="Arial">Name</font></td> <td width="6.5%" align="center" rowspan="2"><font color="#FFFFFF" size="2" face="Arial">Section</font></td> <td width="8%" align="center" rowspan="2"><font color="#FFFFFF" size="2" face="Arial">Report day</font></td> <!-- <td width="18%" align="center" colspan="3"><font color="#FFFFFF" size="2" face="Arial">新人训</font></td> --> <td width="18%" align="center" colspan="3"><font color="#FFFFFF" size="2" face="Arial">必修</font></td> <!-- <td width="18%" align="center" colspan="3"><font color="#FFFFFF" size="2" face="Arial">当前工作岗位</font></td> <td width="18%" align="center" colspan="3"><font color="#FFFFFF" size="2" face="Arial">跨岗位</font></td> --> </tr> <tr bgcolor="#336666"> <td width="6%" align="center"><font color="#FFFFFF" size="2" face="Arial">应完成</font></td> <td width="6%" align="center"><font color="#FFFFFF" size="2" face="Arial">实际完成</font></td> <td width="6%" align="center"><font color="#FFFFFF" size="2" face="Arial">完成Ratio</font></td> <!-- <td width="6%" align="center"><font color="#FFFFFF" size="2" face="Arial">应完成</font></td> <td width="6%" align="center"><font color="#FFFFFF" size="2" face="Arial">实际完成</font></td> <td width="6%" align="center"><font color="#FFFFFF" size="2" face="Arial">完成Ratio</font></td> --> <!-- <td width="6%" align="center"><font color="#FFFFFF" size="2" face="Arial">应完成</font></td> <td width="6%" align="center"><font color="#FFFFFF" size="2" face="Arial">实际完成</font></td> <td width="6%" align="center"><font color="#FFFFFF" size="2" face="Arial">完成Ratio</font></td> <td width="6%" align="center"><font color="#FFFFFF" size="2" face="Arial">应完成</font></td> <td width="6%" align="center"><font color="#FFFFFF" size="2" face="Arial">实际完成</font></td> <td width="6%" align="center"><font color="#FFFFFF" size="2" face="Arial">完成Ratio</font></td> --> </tr> </table> </div> </div> <div class="cc" id="cc" onscroll="aa()"> <table cellpadding="0" cellspacing="0" border="0"> <% if Section = "" then Condition1 = "" elseif Section = "CMP1" then Condition1 = " AND sect='CMP1' " elseif Section = "CVD1" then Condition1 = " AND sect='CVD1' " elseif Section = "PVD1" then Condition1 = " AND sect='PVD1' " elseif Section = "CMP2" then Condition1 = " AND sect='CMP2' " elseif Section = "CVD2" then Condition1 = " AND sect='CVD2' " elseif Section = "PVD2" then Condition1 = " AND sect='PVD2' " elseif Section = "4F" then Condition1 = " AND sect='4F' " elseif Section = "CMP3" then Condition1 = " AND sect='CMP3' " elseif Section = "TF3" then Condition1 = " AND sect='TF3' " elseif Section = "DIFF1" then Condition1 = " AND sect='DIFF1' " elseif Section = "IMP1" then Condition1 = " AND sect='IMP1' " elseif Section = "DIFF2" then Condition1 = " AND sect='DIFF2' " elseif Section = "IMP2" then Condition1 = " AND sect='IMP2' " elseif Section = "MIDDLE" then Condition1 = " AND sect='MIDDLE' " elseif Section = "ETCH3" then Condition1 = " AND sect='ETCH3' " elseif Section = "LITHO3" then Condition1 = " AND sect='LITHO3' " elseif Section = "ETCH1" then Condition1 = " AND sect='ETCH1' " elseif Section = "ETCH2" then Condition1 = " AND sect='ETCH2' " elseif Section = "LITHO1" then Condition1 = " AND sect='LITHO1' " elseif Section = "SCAN" then Condition1 = " AND sect='SCAN' " elseif Section = "LITHO2" then Condition1 = " AND sect='LITHO2' " elseif Section = "WFS(AL)" then Condition1 = " AND sect='WFS(AL)' " elseif Section = "WFS(CU)" then Condition1 = " AND sect='WFS(CU)' " elseif Section = "WAT" then Condition1 = " AND sect='WAT' " elseif Section = "OQI" then Condition1 = " AND sect='OQI' " elseif Section = "Transfer Team" then Condition1 = " AND sect='Transfer Team' " elseif Section = "TF1" then Condition1 = " AND sect='TF1' " elseif Section = "TF2" then Condition1 = " AND sect='TF2' " end if if EmpNo="" then Condition2="" else Condition2=" AND employee_no='"&EmpNo&"' " end if if Shift="" then Condition3="" else Condition3=" AND Shift='"&Shift&"' " end if if Onboard="" then Condition4="" else Condition4=" AND edittime LIKE '"&Onboard&"%' " end if ' response.write"Condition1="&Condition1&"<br>" n=0 sql = " SELECT employee_no, name, sect, substr(edittime, 1, 4) || '-' || substr(edittime, 5, 2) || '-' || substr(edittime, 7, 2) AS edittime, safe_ttl, safe_completed, DECODE(safe_ttl, 0, 0, ROUND(safe_completed / safe_ttl * 100, 0)) AS saferatio FROM( SELECT employee_no, name, sect, edittime, COUNT(CASE WHEN group_name = 'Safe' THEN course_id END) AS safe_ttl, COUNT(CASE WHEN group_name = 'Safe' AND wr_certify = 1 THEN course_id END) AS safe_completed FROM MFG_TB_TRAINING_USER A JOIN mfg_tb_newtraining_final_result B ON A.employee_no = B.empno WHERE status = 'A' AND employee_no LIKE 'E068772' GROUP BY employee_no, name, sect, edittime) ORDER BY employee_no " 'response.write"Condition1="&sql&"<br>" set rs=conn.execute(sql) while not rs.eof if not rs.eof then EMPLOYEE_NO=rs("employee_no") NAME=rs("name") SECT=rs("sect") EDITTIME=rs("edittime") BASICTTL=rs("SAFE_TTL") BASIC=rs("SAFE_COMPLETED") BASICRATIO=rs("SAFERATIO") n=n+1 %> <tr bgcolor="#FFFFFF"> <td width="7%" align="center"><font color="#4091c4" size="2" face="Arial"><%=EMPLOYEE_NO%></font></td> <td width="6.5%" align="center"><font color="#4091c4" size="2" face="Arial"><%=NAME%></font></td> <td width="6.5%" align="center"><font color="#4091c4" size="2" face="Arial"><%=SECT%></font></td> <td width="8%" align="center"><font color="#4091c4" size="2" face="Arial"><%=EDITTIME%></font></td> <td width="6%" align="center"><a href="reportdata.asp?EMPLOYEE_NO=<%=EMPLOYEE_NO%>&GROUP_NAME=Basic&CERTIFYGROUP_TYPE=NULL"><font color="#4091c4" size="2" face="Arial"><%=BASICTTL%></font></td> <td width="6%" align="center"><font color="#4091c4" size="2" face="Arial"><%=BASIC%></font></td> <td width="6%" align="center"><font color="#4091c4" size="2" face="Arial"><%=BASICRATIO%>%</font></td> </tr> <% end if rs.MoveNext wend if n<>"0" then if CDbl(round(ratioList/n,2))>0 and CDbl(round(ratioList/n,2))<1 then i="0" & round(ratioList/n,2) & "%" else i=round(ratioList/n,2) & "%" end if if CDbl(round(ratioList1/n,2))>0 and CDbl(round(ratioList1/n,2))<1 then j="0" & round(ratioList1/n,2) & "%" else j=round(ratioList1/n,2) & "%" end if else i=0 j=0 end if %> </table> </div> <table cellpadding="0" cellspacing="0" border="0"> <tr bgcolor="#FFFFFF"> <td colspan="16" align="left" width="1520" >                                                               </td> </tr> <tr bgcolor="#FFFFFF"> <td colspan="16" align="left"> <font size="3" face="Arial" color="#0000FF"><b> 当前显示记录:</b></font> <font face="Arial" size="3" color="red"> <b><%=n%></b> </font> <font size="3" face="Arial" color="#0000FF"><b>;  当前工作岗位Ratio:</b></font> <font face="Arial" size="3" color="red"> <b><%=i%></b> </font> <font size="3" face="Arial" color="#0000FF"><b>;  跨岗位Ratio:</b></font> <font face="Arial" size="3" color="red"> <b><%=j%></b> </font> </td> </tr> </table> <table border="0" width="100%"> <td> </td> <tr> <td width="100%" align="center"> <a href="setup.asp">--返 回--</a> </td> </tr> <tr> <td width="100%" align="center" class='banquan'> <font color="#666666">©Copyright  Semiconductor Manufacturing International (Shanghai) Corp. <font color="#018ec6">2025 版权所有 ™</font> v1.0</font> </td> </tr> </table> </div> </table> <script> !function(){ laydate.skin('dahong');//切换皮肤,请查看skins下面皮肤库 laydate({elem: '#demo'});//绑定元素 }(); //日期范围限制 var start = { elem: '#start', format: 'YYYY-MM-DD', festival: true, //显示节日 max: '2099-06-16', //最大日期 istime: true, istoday: true, choose: function(datas){ end.min = datas; //开始日选好后,重置结束日的最小日期 end.start = datas //将结束日的初始值设定为开始日 } }; var end = { elem: '#end', format: 'YYYY-MM-DD', festival: true, //显示节日 max: '2099-06-16', istime: true, istoday: true, choose: function(datas){ start.max = datas; //结束日选好后,充值开始日的最大日期 } }; laydate(start); laydate(end); </script> </body> </html> 是这个 代码 你不要改变原有的代码功能
09-17
<%@ Page Language=“C#” AutoEventWireup=“true” CodeFile=“AddNewUser.aspx.cs” Inherits=“Admin_lizhitong_AddNewUser” %> <!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 runat=“server”> <title>注册新用户</title> <link href=“/css/Style.css” rel=“stylesheet” type=“text/css” /> </head> <body> <form id=“form1” runat=“server”> <div> <table border=“0” width=“100%” cellspacing=“1” cellpadding=“2” id=“table2” class=“tableBorder”> <tr> <th valign=middle” colspan=“2” height=“25”> <table align=center” width=“100%”> <tr> <td width=“96%” colspan=“2”> 注册用户 </td> </tr> </table> </th> </tr> <tr> <td width=“150” height=“47” align=center” class=“forumRow”> 用户名: </td> <td class=“forumRow” align=“left”> <asp:TextBox ID=“tbYHM” runat=“server” Height=“19px” Width=“200px” spellcheck=“false” autocomplete=“off” aria-autocomplete=“none”></asp:TextBox> </td> </tr> <tr> <td width=“150” height=“47” align=center” class=“forumRow”> 用户密码: </td> <td class=“forumRow” align=“left”> <asp:TextBox ID=“tbYHMM” runat=“server” Height=“19px” Width=“200px” spellcheck=“false” autocomplete=“off” aria-autocomplete=“none”></asp:TextBox> </td> </tr> <tr> <td width=“150” height=“47” align=center” class=“forumRow”> 确认密码: </td> <td class=“forumRow” align=“left”> <asp:TextBox ID=“tbQRMM” runat=“server” Height=“19px” Width=“200px” spellcheck=“false” autocomplete=“off” aria-autocomplete=“none”></asp:TextBox> <asp:Literal ID=“mmErrorMessage” runat=“server”></asp:Literal> </td> </tr> <tr> <td width=“150” height=“47” align=center” class=“forumRow”> 用户姓名: </td> <td class=“forumRow” align=“left”> <asp:TextBox ID=“tbYHXM” runat=“server” Height=“19px” Width=“200px” spellcheck=“false” autocomplete=“off” aria-autocomplete=“none”></asp:TextBox> </td> </tr> <tr> <td width=“80” height=“47” align=center” class=“forumRow”> 所属区域: </td> <td class=“forumRow” align=“left”> <div class=“dropdown-container” style=“max-width: 450px;”> <asp:DropDownList ID=“ddlZJ” CssClass=“custom-dropdown” runat=“server” AutoPostBack=“True” onselectedindexchanged=“ddlZJ_SelectedIndexChanged”></asp:DropDownList> <asp:DropDownList ID=“ddlPCS” CssClass=“custom-dropdown” runat=“server” AutoPostBack=“True” onselectedindexchanged=“ddlPCS_SelectedIndexChanged”></asp:DropDownList> <asp:DropDownList ID=“ddlVillage” CssClass=“custom-dropdown” runat=“server” AutoPostBack=“True”></asp:DropDownList> </div> </td> </tr> <tr> <td width=“150” height=“47” align=center” class=“forumRow”> 工作单位: </td> <td class=“forumRow” align=“left”> <asp:TextBox ID=“tbGZDW” runat=“server” Height=“19px” Width=“200px” spellcheck=“false” autocomplete=“off” aria-autocomplete=“none”></asp:TextBox> <td class=“forumRow” align=“left”> <asp:DropDownList ID=“ddlYHJS” CssClass=“custom-dropdown” style=“width:300px;” runat=“server”></asp:DropDownList> </td> </tr> <tr> <td valign="middle" colspan="2" align="center" class="forumRow"> <span style="color: Red; padding-left: 10px;"> <asp:Button ID="btSubmit" runat="server" Text="提交注册" OnClick="btSubmit_Click" />  <asp:Literal ID="ltMessage" runat="server"></asp:Literal></span> </td> </tr> </table> </div> </form> </body> </html> 怎么让tbQRMM和tbYHMM显示为*号,不用TextMode="Password"方法
03-22
<p> <table border="1" cellpadding="0" cellspacing="0" width="1837" style="border-collapse:collapse;width:919pt;"> <tbody> <tr> <td height="66" class="oa1" width="279"> <p style="text-align:center;margin-left:0in;"> <span style="font-size:12px;font-family:微软雅黑;color:black;font-weight:bold;">事项</span> </p> </td> <td class="oa1" width="387"> <p style="text-align:center;margin-left:0in;"> <span style="font-size:12px;font-family:微软雅黑;color:black;font-weight:bold;line-height:1;">时间</span> </p> </td> <td class="oa1" width="456"> <p style="text-align:center;margin-left:0in;"> <span style="font-size:12px;font-family:微软雅黑;color:black;font-weight:bold;line-height:1;">地点</span> </p> </td> <td class="oa1" width="348"> <p style="text-align:center;margin-left:0in;"> <span style="font-size:12px;font-family:微软雅黑;color:black;font-weight:bold;line-height:1;">对接人</span> </p> </td> <td class="oa1" width="367"> <p style="text-align:center;margin-left:0in;"> <span style="font-size:12px;font-family:微软雅黑;color:black;font-weight:bold;line-height:1;">工作内容</span> </p> </td> </tr> <tr> <td height="71" class="oa2" width="279"> <p style="text-align:center;margin-left:0in;"> <span style="font-size:12px;font-family:微软雅黑;color:black;line-height:1;">展品接寄</span> </p> </td> <td class="oa2" width="387"> <p style="text-align:center;margin-left:0in;text-indent:0in;"> <span style="font-size:12px;font-family:微软雅黑;color:black;line-height:1;">12</span><span style="font-size:12px;font-family:微软雅黑;color:black;line-height:1;">月</span><span style="font-size:12px;font-family:微软雅黑;color:black;line-height:1;">1</span><span style="font-size:12px;font-family:微软雅黑;color:black;line-height:1;">日 </span> </p> </td> <td class="oa2" width="456"> <p style="text-align:center;margin-left:0in;"> <span style="font-size:12px;font-family:微软雅黑;color:black;line-height:1;">B19</span> </p> </td> <td class="oa2" width="348"> <p style="text-align:center;margin-left:0in;"> <span style="font-size:12px;font-family:微软雅黑;color:black;line-height:1;">孙秀茹</span><span style="font-size:12px;font-family:微软雅黑;color:black;line-height:1;">/</span><span style="font-size:12px;font-family:微软雅黑;color:black;line-height:1;">谭倩</span><span style="font-size:12px;font-family:微软雅黑;color:black;line-height:1;">/</span><span style="font-size:12px;font-family:微软雅黑;color:black;line-height:1;">苗爽</span> </p> </td> <td class="oa3" width="367"> <p style="text-align:center;margin-left:0in;"> <span style="font-size:12px;font-family:微软雅黑;color:black;line-height:1;">接收并保管</span><span style="font-size:12px;font-family:微软雅黑;color:black;line-height:1;">11</span><span style="font-size:12px;font-family:微软雅黑;color:black;line-height:1;">个展品的快递</span> </p> </td> </tr> <tr> <td height="71" class="oa2" width="279"> <p style="text-align:center;margin-left:0in;"> <span style="font-size:12px;font-family:微软雅黑;color:black;line-height:1;">讲解员</span> </p> </td> <td class="oa2" width="387"> <p style="text-align:center;margin-left:0in;text-indent:0in;"> <span style="font-size:12px;font-family:微软雅黑;color:black;line-height:1;">12</span><span style="font-size:12px;font-family:微软雅黑;color:black;line-height:1;">月</span><span style="font-size:12px;font-family:微软雅黑;color:black;line-height:1;">3</span><span style="font-size:12px;font-family:微软雅黑;color:black;line-height:1;">日</span> </p> </td> <td class="oa2" width="456"> <p style="text-align:center;margin-left:0in;"> <span style="font-size:12px;font-family:微软雅黑;color:black;line-height:1;">B19</span> </p> </td> <td class="oa2" width="348"> <p style="text-align:center;margin-left:0in;"> <span style="font-size:12px;font-family:微软雅黑;color:black;line-height:1;">孙秀茹</span><span style="font-size:12px;font-family:微软雅黑;color:black;line-height:1;">/</span><span style="font-size:12px;font-family:微软雅黑;color:black;line-height:1;">苗爽</span> </p> </td> <td class="oa3" width="367"> <p style="text-align:center;margin-left:0in;"> <span style="font-size:12px;font-family:微软雅黑;color:black;line-height:1;">-</span> </p> </td> </tr> <tr> <td height="71" class="oa2" width="279"> <p style="text-align:center;margin-left:0in;"> <span style="font-size:12px;font-family:微软雅黑;color:black;line-height:1;">布展</span> </p> </td> <td class="oa2" width="387"> <p style="text-align:center;margin-left:0in;text-indent:0in;"> <span style="font-size:12px;font-family:微软雅黑;color:black;line-height:1;">12</span><span style="font-size:12px;font-family:微软雅黑;color:black;line-height:1;">月</span><span style="font-size:12px;font-family:微软雅黑;color:black;line-height:1;">3</span><span style="font-size:12px;font-family:微软雅黑;color:black;line-height:1;">日</span> </p> </td> <td class="oa2" width="456"> <p style="text-align:center;margin-left:0in;"> <span style="font-size:12px;font-family:微软雅黑;color:black;line-height:1;">B19</span> </p> </td> <td class="oa2" width="348"> <p style="text-align:center;margin-left:0in;"> <span style="font-size:12px;font-family:微软雅黑;color:black;line-height:1;">郭萌</span><span style="font-size:12px;font-family:微软雅黑;color:black;line-height:1;">/</span><span style="font-size:12px;font-family:微软雅黑;color:black;line-height:1;">孙秀茹</span><span style="font-size:12px;font-family:微软雅黑;color:black;line-height:1;">/</span><span style="font-size:12px;font-family:微软雅黑;color:black;line-height:1;">苗爽</span> </p> </td> <td class="oa3" width="367"> <p style="text-align:center;margin-left:0in;"> <span style="font-size:12px;font-family:微软雅黑;color:black;line-height:1;">①展板、支架、暗箱、展台制作</span> </p> </td> </tr> <tr> <td height="71" class="oa2" width="279"> <p style="text-align:center;margin-left:0in;"> <span style="font-size:12px;font-family:微软雅黑;color:black;line-height:1;">展区</span> </p> </td> <td class="oa2" width="387"> <p style="text-align:center;margin-left:0in;text-indent:0in;"> <span style="font-size:12px;font-family:微软雅黑;color:black;line-height:1;">13</span><span style="font-size:12px;font-family:微软雅黑;color:black;line-height:1;">:</span><span style="font-size:12px;font-family:微软雅黑;color:black;line-height:1;">3</span><span style="font-size:12px;font-family:微软雅黑;color:black;line-height:1;">0 </span><span style="font-size:12px;font-family:微软雅黑;color:black;line-height:1;">- 1</span><span style="font-size:12px;font-family:微软雅黑;color:black;line-height:1;">6</span><span style="font-size:12px;font-family:微软雅黑;color:black;line-height:1;">:</span><span style="font-size:12px;font-family:微软雅黑;color:black;line-height:1;">40</span> </p> </td> <td class="oa2" width="456"> <p style="text-align:center;margin-left:0in;"> <span style="font-size:12px;font-family:微软雅黑;color:black;line-height:1;">报告厅门厅</span> </p> </td> <td class="oa2" width="348"> <p style="text-align:center;margin-left:0in;"> <span style="font-size:12px;font-family:微软雅黑;color:black;line-height:1;">孙秀茹</span><span style="font-size:12px;font-family:微软雅黑;color:black;line-height:1;">/</span><span style="font-size:12px;font-family:微软雅黑;color:black;line-height:1;">苗爽</span> </p> </td> <td class="oa3" width="367"> <p style="text-align:center;margin-left:0in;"> <span style="font-size:12px;font-family:微软雅黑;color:black;line-height:1;">-</span> </p> </td> </tr> </tbody> </table> </p> 上面为邮件中table格式源码,请检查并优化
最新发布
11-21
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符  | 博主筛选后可见
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值