admin管理员组

文章数量:1279236

In HTML, is there a way to dictate cell colour overlap when using rowspan and colspan in combination? Here's a table where the yellow row (created by colspan) overrides the red column (created by rowspan)

<table>
  <tr>
    <td>&nbsp;&nbsp;&nbsp;</td>
    <td rowspan=3 style='background-color: red'>&nbsp;&nbsp;&nbsp;</td>
    <td>&nbsp;&nbsp;&nbsp;</td>
  </tr>
  <tr>
    <td colspan=3 style='background-color: yellow'>&nbsp;&nbsp;&nbsp;
  </tr>
  <tr>
    <td>&nbsp;&nbsp;&nbsp;</td>
    <td>&nbsp;&nbsp;&nbsp;</td>
    <td>&nbsp;&nbsp;&nbsp;</td>
  </tr>
</table>

本文标签: