【问题标题】:Whit it? Different results for same code干吗?相同代码的不同结果
【发布时间】:2017-01-02 01:00:01
【问题描述】:

没关系……:

但是:

为什么?我正在开发一个网站,这很麻烦,真的很麻烦。 代码:

<!-- CSS goes in the document HEAD or added to your external stylesheet -->
<style type="text/css">
table.gridtable {
	font-family: verdana,arial,sans-serif;
	font-size:11px;
	color:#333333;
	border-width: 1px;
	border-color: #666666;
	border-collapse: collapse;
}
table.gridtable th {
	border-width: 1px;
	padding: 8px;
	border-style: solid;
	border-color: #666666;
	background-color: #dedede;
}
table.gridtable td {
	border-width: 1px;
	padding: 8px;
	border-style: solid;
	border-color: #666666;
	background-color: #ffffff;
}
</style>
<!-- Table goes in the document BODY -->
<table class="gridtable">
<tr>
	<th>Info Header 1</th><th>Info Header 2</th><th>Info Header 3</th>
</tr>
<tr>
	<td>Text 1A</td><td>Text 1B</td><td>Text 1C</td>
</tr>
<tr>
	<td>Text 2A</td><td>Text 2B</td><td>Text 2C</td>
</tr>
</table>

为什么?

【问题讨论】:

  • 这些图片到底有什么用?您没有解释如何将页面加载到浏览器中,或者本地文件与本地文件的对比。出现http url。
  • 在第二个站点上尝试按Ctrl+0。你好像缩小了一点。标准化缩放级别。
  • 是的,这行得通。请等一下……
  • 是的,真的是最好的回复。我正在开发一个响应式布局,但表格全错了。对不起这个无用的问题。 kkkkk

标签: html css html-table


【解决方案1】:

您在第一张桌子上的放大效果似乎比在第二张桌子上的放大程度更高。您可以尝试放大第二个,边框应该会重新出现。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2021-07-01
    • 1970-01-01
    • 1970-01-01
    • 2022-08-05
    • 1970-01-01
    • 1970-01-01
    • 2016-11-08
    相关资源
    最近更新 更多