Solved

td align center

Posted on 2011-03-01
5
460 Views
Last Modified: 2012-05-11
td align center

will this align everything in the td
0
Comment
Question by:rgb192
5 Comments
 
LVL 10

Expert Comment

by:himanshut
ID: 35012950
Yes,
provided you havent set any other alignment as left , right or justify within that particular td.

Cheers
0
 
LVL 29

Accepted Solution

by:
Paul Jackson earned 500 total points
ID: 35012954
Use text-align:center it usually works better
0
 
LVL 28

Expert Comment

by:chilternPC
ID: 35013164
or
 <td ><center>hello</center></td>
0
 
LVL 29

Expert Comment

by:Paul Jackson
ID: 35013187
<center></center> has been deprecated and should be avoided.
0
 

Author Closing Comment

by:rgb192
ID: 35021078
thanks
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Put shading on half of picture 8 44
Input box width 6 28
Cannot center boxes on mobile, but looks good on desktop 9 34
Sort Order Icons on HTML Table 3 25
CSS3 Custom checkboxes This article shows how to style the checkbox form element using only CSS. Works in: Chrome, FF, Safari, Opera, IE9+ Uses modernizr.js to check for :checked pseudo class, falling back to plain old checkboxes (IE8 and bel…
Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
In this tutorial viewers will learn how add a full-size background image to a webpage using CSS3. Create a new HTML document with an internal stylesheet.: In CSS, define the html element to have a background image. Use a high resolution image.: In t…
In this tutorial viewers will learn how to style a decorative dropcap for the first letter in a paragraph using CSS. In CSS, create a new paragraph class by typing "p.fancy": Then, to style only the first letter of the first sentence, include the ps…

831 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