answersLogoWhite

0


Best Answer

Use the CSS "text-align" property.

Assuming that your column is built using a block level element with a set width (either fixed or fluid) your HTML will look something like this:

text in the column

Your CSS will look something like this:

div { width: 200px; text-align: center; }

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you align center the text in a column?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Are the numbers in a column aligned at the center?

You can align numbers to the center of all cells in a column. The default is right aligned for numbers and left aligned for text.


How do you allign your font on MySpace?

Text Here Text Here Text Here


How do you center text on your zwinky profile?

<div align=center >enter text</div>


What is left align in excel 2003?

It is the default setting for text. It aligns the text to the right side of a cell. If you use left align, the text will be aligned to the left side of the cell. If you use center align, the text will be aligned in the center of the cell.


How text align to right in jmesa htmlcolumn?

You can align HTML column by align attribute. The attribute could be aligned in the element you want to move.


What typically displays text as bold and center aligned?

The <B> </B> tag is used to display text in Bold <Center> </Center> tag is used to center align text.


What is the shortcut on mac to align your text in the center?

command - E


How can you align the text in a cell?

Left - aligns everything to the left Right - aligns everything to the right Centre - aligns everything to the middle Justify - stretches the text so it lines up at each margin


What is the code for HTML when combining centered text and color?

in the tag you will put align="center" style: font color="#ffffff"> Example: < p align="center" style: font color="#FFFFFF">This is the centered text</p> and that code will center "This is the centered text" in white.


In a Google Document how do you set the default so that all the text in one specific column is centered?

First highlight the column in question. If you want to highlight all cells in the column, then click on the associated letter at the very top and all cells should be highlighted. Then simply hit the center button on the align button on the tool bar. Any text that is in the column will be centered; in addition, any future text in cells farther down the column will be centered too.


How can you align a hyperlink in a css file?

This will align all links in a HTML webpage using CSSa, a:visited, a:active, a:hover { /*You can set this to right, left, center or justify*/text-align: center;}


What does div mean?

A div tag in HTML represents a division, usually with its own style, class, or alignment. For example, the HTML <div align=center>Text</center> would align the text in the center of the page