Solved

Alignment Issue with Code

Posted on 2011-03-25
4
242 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 Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Redirect 301 from one address  to another 5 25
Correct syntax for subdirectories 9 18
How to create a table with buttons 3 21
PHP 5.6 and 7.x 4 18
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
This article discusses how to create an extensible mechanism for linked drop downs.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

766 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