Solved

Alignment Issue with Code

Posted on 2011-03-25
4
233 Views
Last Modified: 2013-12-25
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
Comment
Question by:wantabe2
  • 2
4 Comments
 
LVL 28

Accepted Solution

by:
sammySeltzer earned 500 total points
ID: 35216268
just change the <th to td
0
 
LVL 9

Expert Comment

by:Roman Gherman
ID: 35216323
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
 
LVL 14

Expert Comment

by:Scott Madeira
ID: 35216346
<th align="left" colspan="2">PART A:  </th>
0
 
LVL 14

Expert Comment

by:Scott Madeira
ID: 35216375
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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

This article will show, step by step, how to integrate R code into a R Sweave document
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now