Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 251
  • Last Modified:

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

0
wantabe2
Asked:
wantabe2
  • 2
1 Solution
 
sammySeltzerCommented:
just change the <th to td
0
 
Roman GhermanCommented:
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

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now