Solved

Alignment Issue with Code

Posted on 2011-03-25
4
238 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Border and image sizing 5 19
Javascript_Set_dropdown_value 7 32
PHP curl issue VERBOSE output 18 37
What does this formatting equate to? 7 5
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
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…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

786 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