Results 1 to 4 of 4

Thread: How to Align text inserted in html table format

  1. #1
    Join Date
    Apr 2009
    Posts
    69

    How to Align text inserted in html table format

    I have number of tables designed in my web pages, I have entered lot of text messages as paragraphs as well as list of table content, but when I try to align the text as per requirement it does not allow me to do so, How should I do that, do i need to insert any tags to the paragraphs or content.

  2. #2
    Join Date
    Apr 2008
    Posts
    117

    Re: How to Align text inserted in html table format

    The HTML table model allows authors to arrange data -- text, preformatted text, images, links, forms, form fields, other tables, etc. -- into rows and columns of cells. The value for each attribute inside the tag is enclosed in quotation marks, only around the value and not around the attribute. <TABLE attribute="value">. <TABLE WIDTH="250" BORDER="2" BORDERCOLOR="blue" CELLPADDING="7" CELLSPACING="3" VALIGN="top" ALIGN="right">

  3. #3
    Join Date
    Jan 2009
    Posts
    163

    Re: How to Align text inserted in html table format

    To align the text or objects in a cell to the left side of the cell, the line ALIGN="left" needs to be added to the <TD> tag, so the final result looks, Add the border attribute to the table tag, setting it equal to 1, and a sentence between the <td></td> tags as shown:
    <table border="1">
    <tr>
    <td>My Table</td>
    </tr>
    </table>

  4. #4
    Join Date
    Feb 2006
    Posts
    185

    Re: How to Align text inserted in html table format

    ALIGN values of left | center | right have been defined by the HTML 3.2 specification. The default value is "left". Add the attribute 'align' and set it equal to 'right' to the beginning <div> tag 'as shown:
    <div align="right"> Save and upload the document to your server. If you do not specify a border attribute the table will be displayed without any borders. If you do not code the align attribute the browser will assume that the table is aligned to the left. User agents may exploit the head/body/foot division to support scrolling of body sections independently of the head and foot sections.

Similar Threads

  1. How to convert math text PDF format to Kindle readable format
    By The#Gaelic in forum Portable Devices
    Replies: 7
    Last Post: 23-02-2012, 12:09 PM
  2. How to convert HTML to TEXT format ?
    By Custidio in forum Windows Software
    Replies: 5
    Last Post: 09-02-2010, 02:22 AM
  3. How can I convert text data into table format?
    By Ram Bharose in forum Windows Software
    Replies: 7
    Last Post: 30-12-2009, 02:58 PM
  4. problem with vertical text align
    By Vicious in forum Software Development
    Replies: 4
    Last Post: 27-08-2008, 12:56 PM
  5. In HTML table how can I wrap the text ?
    By Matellis in forum Software Development
    Replies: 5
    Last Post: 20-05-2008, 07:48 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,582,778.21081 seconds with 17 queries