17

我在 github 上格式化 README 时遇到了一些问题。

这是原始的自述文件:

| Italic             |  Block letters |
:-------------------------:|:-------------------------:
![](outputs/output_Biotouch/18-15_02-02-2018/Identification/ITALIC/ITALIC_movementPoints_cmc.png)  |  ![](outputs/output_Biotouch/18-15_02-02-2018/Identification/BLOCK_LETTERS/BLOCK_LETTERS_movementPoints_cmc.png)
![](outputs/output_Biotouch/18-15_02-02-2018/Verification/ITALIC/ITALIC_movementPoints_notbalanced_roc.png)  |  ![](outputs/output_Biotouch/18-15_02-02-2018/Verification/BLOCK_LETTERS/BLOCK_LETTERS_movementPoints_notbalanced_roc.png)
![](outputs/output_Biotouch/18-15_02-02-2018/Verification/ITALIC/ITALIC_movementPoints_notbalanced_frrVSfpr.png)  |  ![](outputs/output_Biotouch/18-15_02-02-2018/Verification/BLOCK_LETTERS/BLOCK_LETTERS_movementPoints_notbalanced_frrVSfpr.png)

它只是一个表,其中包含对某些图像的相对引用。

引用的图像具有所有相同的尺寸

这就是结果: 在此处输入图像描述

为什么中心行中包含的图像更小?

4

2 回答 2

15

表中的图像具有相同的尺寸。

“问题”是每个图像都添加了一个边框。偶数行的边框为白色,奇数行的边框为浅灰色。

偶数行中的图像似乎没有边框,因为背景和边框都是白色的。

(感谢 github 支持团队的 Shawna)

于 2018-02-14T19:48:07.423 回答
4

您可以为此使用这些 html 标签,

<table>
  <tr>
    <td> <img src="img1.png"  alt="1" width = 360px height = 640px ></td>

    <td><img src="img2.png" alt="2" width = 360px height = 640px></td>
   </tr> 
   <tr>
      <td><img src="./Scshot/cab_arrived.png" alt="3" width = 360px height = 640px></td>

      <td><img src="./Scshot/trip_end.png" align="right" alt="4" width = 360px height = 640px>
  </td>
  </tr>
</table>

有关更多信息,您可以在此处查看链接

于 2020-05-13T20:17:46.383 回答