If you are dynamically creating an HTML table with number of table columns at runtime with equal sizes.
You have to do like this,
<style type="text/css">
.table {
width:100%;
}
.table td {
width:1000px;
}
</style>
<table class="table">
<tr>
<td>one</td>
<td>two</td>
<td>three</td>
<td>four</td>
<td> five</td>
<td> six </td>
</tr>
</table>
Post your comments / questions
Recent Article
- Import "django.shortcuts" could not be resolved from source in Django Project
- How to add two numbers in Android Studio? | Source Code
- FindViewByID returns null in android studio -SOLVED
- Saving changes is not permitted in SQL SERVER - [SOLVED]
- Restore of database failed. File cannot be restored over the existing. -[SOLVED]
- One or more projects in the solution were not loaded correctly in Visual Studio 2019 | FIXED
- How to find Laptop's Battery Health?
- SOLVED-Related Field got invalid lookup: icontains error in Django
Related Article