Moonlit
10-17-2003, 06:16 PM
How can I align all the table content in the center?
Thanks!
Thanks!
|
View Full Version : table alignment Moonlit 10-17-2003, 06:16 PM How can I align all the table content in the center? Thanks! insomniadreamer 10-17-2003, 06:26 PM could writing <center> into your html work? Loren 10-17-2003, 09:15 PM Center the table or the stuff in the table. For the table put <center> before the table and </center> after. For the stuff in the table add align="center" to all of your <td> tags. To make the tag <td align="center"> You could also add valign="middle" to the td tag to center the text verticly. PS These tags can also be set to align="left" or align="right". Or valign="top" or valign="bottom". Moonlit 10-23-2003, 09:40 PM Thanks! How is centering the text vertically different from just centering? Loren 10-23-2003, 10:43 PM Asuming you had a border on your table if you use the align tags the text in the colum will be in the center and the table could be in the center on the left or on the right. If you use the table center tag the table will be centered but the text in the colums might be on the left, right, or center. Make since? |