Alignment Issue with Code

Is there anyway for me to align left the text in this code? At this time they are in the center...

PART A and PART B need to be aligned left.
<tr>
<th colspan="2">PART A:  </th>
<th colspan="2">PART B: </th>
</tr>

Open in new window

LVL 15
wantabe2Asked:
Who is Participating?
 
sammySeltzerConnect With a Mentor Commented:
just change the <th to td
0
 
Roman GhermanSenior Software EngineerCommented:
1) replace <th with <td
2) add align='left' to <td

<tr>
<td align='left' colspan="2">PART A:  </th>
<td align='left' colspan="2">PART B: </th>
</tr>

Open in new window

0
 
Scott MadeiraCommented:
<th align="left" colspan="2">PART A:  </th>
0
 
Scott MadeiraCommented:
You don't need to change the th to a td.  As I stated above, align=center will work on th tags as well.
0
All Courses

From novice to tech pro — start learning today.