Tom Knowlton
asked on
<th> tag -- I want to align the text left
Using jQuery, I want to align the indicated <th> tag to the left (right now it is centered)
<th scope="col">Details</th>
Here is the code segment:
<th scope="col">Details</th>
Here is the code segment:
<table class="grid_view" cellspacing="0" id="ctl08_gvRepairItems" style="width:300px;border-collapse:collapse;">
<tbody><tr class="grid_view_header">
<th scope="col"> </th><th scope="col">Repair Item</th><th scope="col">Units</th>
\\\\\\\\\\\ right now this is centered, I want to align it to the LEFT
<th scope="col">Details</th>
</tr><tr id="ctl08_gvRepairItems_ctl02" onclick="HighLightGVRow('ctl08_gvRepairItems_ctl02', 'ctl08_gvRepairItems_ctl02_hdSelectedRow', 'ctl08_gvRepairItems_ctl02_hdOldStyle');">
<td style="width:100px;">
<a id="ctl08_gvRepairItems_ctl02_lnkDelete" href="javascript:__doPostBack('ctl08$gvRepairItems$ctl02$lnkDelete','')" style="display:inline-block;width:40px;">Delete</a>
</td><td>
<span id="ctl08_gvRepairItems_ctl02_lblRepairItem">Carpet Cleaning</span>
</td><td>
<span id="ctl08_gvRepairItems_ctl02_lblUnits">SF</span>
</td><td>
<span id="ctl08_gvRepairItems_ctl02_lblDetails" style="display: inline-block; width: 800px; text-align: left;">asfasd</span>
</td><td><input type="hidden" name="ctl08$gvRepairItems$ctl02$hdSelectedRow" id="ctl08_gvRepairItems_ctl02_hdSelectedRow"><input type="hidden" name="ctl08$gvRepairItems$ctl02$hdOldStyle" id="ctl08_gvRepairItems_ctl02_hdOldStyle"></td>
</tr>
</tbody></table>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks,
Tom