I want to put two tables (on the same page) which should render differently (i.e. use different CSS for each table). Is it possible?
You need to assign different classes to each table. and use them in your html code. Show activity on this post. Of course, just assign seperate css classes to both tables.
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 {...}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With