我試圖從圖像標籤樣式標題。CSS - 樣式圖像標籤的標題
我有搜索其他問題,但不能把它放在我的項目工作。
但我不能做任何改變。
有人能給我這個手嗎?
我的代碼:
table.tablesorter tbody tr td a:hover img[title]:after
{
\t content: attr(title);
\t padding: 4px 8px;
\t color: #FFF;
\t background-color:black;
}
<table class="tablesorter" style="width:98% !important">
<thead>
<tr>
<th>
.....
</th>
</tr>
</thead>
\t <tbody>
<tr>
<td>
..........
</td>
\t <td>
<a href="@Url.Action("Edit","Account", new { id=item.UserId })">
<img src="~/Content/images/icon_edit.png" title="Edit"/>
</a>
</td>
\t \t \t </tr>
</tbody>
\t <tfooter>
\t </tfooter>
</table>
小提琴。 –