maharamDan
IS-IT--Management
Hello I have many tables on one page. I was wondering if the example below is the correct way to assign a class to a single table. For example if I only want to use the TD and TR charactericts for one table on the page not all.
Thanks in advance:
<style type="text/css">
.tableone {
width: 100%;
max-width: 500px;
td.tableone
border: 1px solid #666666;
font-family: Verdana;
font-size: 10px;
color: #000000;
padding-left: 5px;
tr.tableone
font-family: Verdana;
font-size: 10px;
color: #000000;
}
</style>
<table border="1" class="tableone">
<tr>
<td>Table</td>
</tr>
</table>
Thanks in advance:
<style type="text/css">
.tableone {
width: 100%;
max-width: 500px;
td.tableone
border: 1px solid #666666;
font-family: Verdana;
font-size: 10px;
color: #000000;
padding-left: 5px;
tr.tableone
font-family: Verdana;
font-size: 10px;
color: #000000;
}
</style>
<table border="1" class="tableone">
<tr>
<td>Table</td>
</tr>
</table>