HTML: how to style 2 tables with different CSS

32 down vote accepted
In your html
<table class="table1">
<tr>
<td>
...
</table>

<table class="table2">

<tr>
<td>
...
</table>
In your css:
table.table1 {...}
table.table1 tr {...}
table.table1 td {...}

table.table2 {...}
table.table2 tr {...}
table.table2 td {...}

Comments

Popular posts from this blog

PHP Ajax Login Validation Tutorial

Real-Time Web Interface to MQTT using Socket.io and Node.js

New User Registration With Email Verification Using PHP and Mysqli