<html> 
<head> 
<title> 元素居中 </title> 
<style> 
body{   margin:0;padding:0;height:100%;} 
</style> 
</head> 
<body> 
<table   width= "100% "   height= "100% "   align= "center "> 
<tr> 
<td   align= "center "> 要居中的元素 </td> 
</tr> 
</table> 
</body> 
</html>

相关文章:

  • 2021-11-10
  • 2022-12-23
  • 2021-10-24
  • 2021-06-30
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-07-23
  • 2021-11-27
  • 2022-12-23
  • 2021-11-03
  • 2022-12-23
相关资源
相似解决方案