which property highlights the table cell, row, or column with the specified color when the mouse moves over it.
Answers
Answered by
22
Answer:
Using hover property....
Explanation:
<style style="text/css">
.hoverTable{
width:100%;
border-collapse:collapse;
}
.hoverTable td{
padding:7px; border:#4e95f4 1px solid;
}
/* Define the default color for all the table rows */
.hoverTable tr{
background: #b8d1f3;
}
/* Define the hover highlight color for the table row */
.hoverTable tr:hover {
background-color: #ffff99;
}
</style>
<table class="hoverTable">
<tr>
<td>Hover Property 1</td>
</tr>
<tr>
<td>Hover Property 1</td>
</tr>
<tr>
<td>Hover Property 1</td>
</tr>
</table>
Answered by
6
Answer:
Using hover property.
MAR AS BRANILIST
Similar questions