Css; 要把Table 移去中间, 应该加入什么代码在Css?
时间:2011-06-10
来源:互联网
HTML code
<html> <head> <title></title> <style type="text/css"> table { width=70%; } </style> </head> <body> <table border="1"> <tr> <td>Data Cell 1</td> <td>Data Cell 2</td> <td>Data Cell 3</td> <td>Data Cell 4</td> </tr> </table> </body> </html>
作者: L3nnon 发布时间: 2011-06-10
CSS code
table { width=70%; border-collapse:collapse; }
作者: inetfuture 发布时间: 2011-06-10
引用 1 楼 inetfuture 的回复:
CSS code
table { width=70%;
border-collapse:collapse;
}
CSS code
table { width=70%;
border-collapse:collapse;
}
CSS code
<html> <head> <title></title> <style type="text/css"> table { width=70%; border-collapse:collapse;} </style> </head> <body> <table> <tr> <td>Title Cell 1</td> <td>Title Cell 2</td> <td>Title Cell 3</td> <td>Title Cell 4</td> </tr>
没效果, Collapse 不是折叠吗???
作者: L3nnon 发布时间: 2011-06-10
HTML code
到中间去 ?
<html> <head> <title></title> <style type="text/css"> table { width=70%;margin:0 auto; } </style> </head> <body> <table border="1"> <tr> <td>Data Cell 1</td> <td>Data Cell 2</td> <td>Data Cell 3</td> <td>Data Cell 4</td> </tr> </table> </body> </html>
到中间去 ?
作者: zell419 发布时间: 2011-06-10
引用 3 楼 zell419 的回复:
HTML code
<html>
<head>
<title></title>
<style type="text/css">
table { width=70%;margin:0 auto;
}
</style>
</head>
<body>
<table border="1">
<tr>
<td>Dat……
HTML code
<html>
<head>
<title></title>
<style type="text/css">
table { width=70%;margin:0 auto;
}
</style>
</head>
<body>
<table border="1">
<tr>
<td>Dat……
对~ 要在中间~
作者: L3nnon 发布时间: 2011-06-10
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28