4
Well I have a table that I’ve assembled with css. I need to add an observation within a few lines, IE will not be in all lines.
The problem is that I am not succeeding, I tried to post the doubt here in another way, but the solution was not very good.
Well follows a picture of what I need to do.
Follow html and css code:
.tab_dados {
width: 100%;
border-collapse: collapse;
text-align: center;
}
.tab_dados a {
color: #484848;
text-decoration: none;
}
.tab_dados th {
background: #0091FF;
color:#FFFFFF;
font-style: italic;
}
.tab_dados tr {
height: 50px;
border-bottom: 1px solid #D5D5D5;
}
.tab_dados tr:nth-child(odd) {
background: #F7F7F7;
}
.tab_dados tr:nth-child(even) {
background: #FFFFFF;
}
.tab_dados tr:hover {
background: #F1F1F1;
}
tfoot tr td{
border:0;
height: 40px;
}
.tfoot{
width: 100%;
}
<table class="tab_dados">
<tr>
<th>NOME</th>
<th>IDADE</th>
<th>ESTADO</th>
</tr>
<tr>
<td>HUGO</td>
<td>26</td>
<td>MG</td>
</tr>
<tr>
<td>HUGO</td>
<td>26</td>
<td>MG</td>
</tr>
<tr>
<td>HUGO</td>
<td>26</td>
<td>MG</td>
</tr>
</table>
Does anyone know a cool way to do that?
Hugo, it is necessary to be a table with
<table>
?– Lennon S. Bueno
Good, because I already have the tables of the system configured with css, use table to inform tabulated data, as customer lists and etc...
– Hugo Borges