.pointy {
background-image: url('img/Header.png');
background-size: cover;
background-repeat: no-repeat;
color: white;
font-size: 40px;
background-color: orange;
}
<div style="margin-top: 100px">
<table style="float: left;">
<tr class="pointy">
<td>TITLE</td>
</tr>
</table>
<table style="float: left;">
<tr class="pointy">
<td>TITLE</td>
</tr>
</table>
<table style="float: left;">
<tr class="pointy">
<td>TITLE</td>
</tr>
</table>
</div>
我試圖添加圖像作爲背景,並實現了設計,如下圖所示。
但遺憾的是我不能得到它的工作。這是我現在的結果。
P.S橙色背景添加只是清楚地看到它。
??您還應該查找關於如何構建表格的基本教程,如果不需要表格,則顯示器現在可以做很多事情。標題爲3個標籤?真的嗎?你知道hx標籤嗎?如果你想要一個表,那麼你有...。 –