Solved

td align center

Posted on 2011-03-01
5
461 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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

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 A frequently asked question goes something like this:  "I am running a long process in the background and I want to alert my client when the process finishes.  How can I send a message to the browser?"  Unfortunately, the short answer …
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
In this tutorial viewers will learn how to style different bullet points for unordered lists in CSS. Begin with a normal unordered list; the default bullet point is a solid circle: In the CSS, create a defined class of unordered list by typing "ul.S…

830 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