<table border="1" width="100%" ID="Table2">
<tr>
<td>100</td>
</tr>
</table>
Run Code Online (Sandbox Code Playgroud)
这段代码仍然留在桌子两侧的"英寸"空间.试图让表格跨越页面的整个宽度.谢谢.
是否有可能在Github gist markdown中心有一张桌子?如果是这样,怎么样?
我使用以下语法在markdown文件上创建表:
Somehow the table is always flushed to the left!!!
|Column1|Column1|Column1|
|:----|:----:|----:|
|Column1|Column1|Column1|
Run Code Online (Sandbox Code Playgroud)
但是表格是左边的,请参阅https://gist.github.com/alvations/5095d3bcc0eec357c78f1c21a49e334f
查看时是否可以将表格放在页面的中心?
我试过/sf/answers/1724765591/的建议来使用:
Somehow the table is always flushed to the left!!!
<center>
|Column1|Column1|Column1|
|:----|:----:|----:|
|Column1|Column1|Column1|
</center>
Run Code Online (Sandbox Code Playgroud)
查看时表格消失,请参阅https://gist.github.com/alvations/cd3495e7107b7701cf1cf1da2a839534
Still on the left!!!
<p align="center">
|Column1|Column1|Column1|
|:----|:----:|----:|
|Column1|Column1|Column1|
</p>
Run Code Online (Sandbox Code Playgroud)
但它仍在左侧,请参阅https://gist.github.com/alvations/23c18681df7a6bbf175d0e8c2cfccba3
以上所有3个版本的图片: