I am having trouble getting my desk to behave. The content continues to overflow, and my attempts to limit it do not create the desired effect.
This is my markup:
<div class="repeatingdiv">
<div class="hastitle">Some title</div>
<div class="hastable">
<table>
<thead><tr><th></th></tr></thead>
<tfoot><tr><th></th></tr></tfoot>
<tbody>
<tr>
<td class="col1">Col 1</td>
<td class="col2">Col 2</td>
<td class="col3">Col 3</td>
</tr>
</tbody>
</table>
</div>
</div>
Then I have a style. td'scrowded, but I could not install them overflow to hidden/auto. In the class hastablethat contains the table, I was more fortunate to reset the overflow. But I still can not get of Firefox , to evaluate the distribution of widththe three columns: 30%, 35%, 35%. I also tried installing min-width, but still no luck. I have several of these tables on a page, and each one takes its own width. Any help on this pillar?
.repeatingdiv { }
.hastitle { margin:0 10px; padding:3px 3px 1px 6px; }
.hastable { overflow:hidden;
text-overflow: ellipsis;
margin:10px;
padding:10px;
}
table { }
table tbody { width: 100%; }
tr { width: 100%; }
td.col1 { width:30%; min-width:30%; }
td.col2 { width:35%; min-width:35%; }
td.col3 { width:35%; min-width:35%; }