日期:2014-04-30 浏览次数:23002 次
以下是代码: <!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> <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> <title>无标题文档</title> <style type="text/css"> div{text-align:center;} .s1{border: 1px solid #336699;height:300px;width:782px} .s2{float: left;border: 1px solid #336699;height: 110px;width: 390px;vertical-align: middle;} .s3{float: left;border: 1px solid #336699;height: 110px;width: 390px;vertical-align: middle;} </style> </head> <body> <table align="center"><tr><td><div class="s1">中文</div> <div class="s2">英文</div> <div class="s3">法文</div><td></tr></table> </body> </html> |