-1
I’m creating a project to exercise some things, and I made a table with fictitious data, where, when passing the mouse, the corresponding line changes color. I just didn’t want it to happen with the title line. What can I do? I tried everything but it didn’t work.
HTML:
<table id="esttt">
<thead>
<tr><td colspan="2">DADOS</td></tr>
<tr>
<td>ABC</td>
<td>22.7%</td>
</tr>
<tr>
<td>DEF</td>
<td>42.5%</td>
</tr>
<tr>
<td>GHI</td>
<td>12%</td>
</tr>
<tr>
<td>JKL</td>
<td>54.6%</td>
</tr>
</thead>
</table>
AND THE CSS:
#esttt{
    width:300px;
}
#esttt tr{
    line-height:30px;
}
#esttt tr:hover{
    background:#6B6BB6;
    color:#FFF;
}
#esttt thread{
    color:#FFF;
    font-weight:bold;
}
#esttt thread:hover{
    color:#FFF;
    font-weight:bold;
}
						
Young people this negative you there your question is not clear, try at least edit it and put the code you already have so far html/ CSS this will help to give you an answer
– hugocsl
edited. you can help me agr?
– Roberto Araujo